Skip to content

Commit 0b40782

Browse files
Add scape character
1 parent 7705348 commit 0b40782

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DALLiteDBTools.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ function Add-$className {
150150
<#[$className]#>`$$className
151151
)
152152
process {
153-
if (`$$className.Id -ne $null) {
153+
if (`$$className.Id -ne `$null) {
154154
`$$className | ConvertTo-LiteDbBSON | Add-LiteDBDocument -Connection `$Script:DB -Collection $CollectionName -Id `$$($className).Id
155155
} else {
156156
Write-Error ""Empty Id"" -TargetObject `$$className

0 commit comments

Comments
 (0)