Skip to content

Commit 3a02d0f

Browse files
nfedykCopilot
andauthored
Update psCommandService.js
Co-authored-by: Copilot <[email protected]>
1 parent 2c07456 commit 3a02d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

psCommandService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ PSCommandService.prototype._generateCommand = function(commandConfig, argument2V
315315
}
316316

317317
// append the value
318-
if (valueToSet != null && valueToSet != undefined && (isEmpty || valueToSet.trim().length > 0)) {
318+
if (valueToSet !== null && valueToSet !== undefined && (isEmpty || valueToSet.trim().length > 0)) {
319319

320320
// sanitize
321321
valueToSet = this._sanitize(valueToSet,isQuoted);

0 commit comments

Comments
 (0)