@@ -719,9 +719,9 @@ describe("Platform module", function () {
719
719
const defaultPowerShell = await powerShellExeFinder . getFirstAvailablePowerShellInstallation ( ) ;
720
720
const expectedPowerShell = testPlatform . expectedPowerShellSequence [ 0 ] ;
721
721
722
- assert . strictEqual ( defaultPowerShell . exePath , expectedPowerShell ! . exePath ) ;
723
- assert . strictEqual ( defaultPowerShell . displayName , expectedPowerShell ! . displayName ) ;
724
- assert . strictEqual ( defaultPowerShell . supportsProperArguments , expectedPowerShell ! . supportsProperArguments ) ;
722
+ assert . strictEqual ( defaultPowerShell . exePath , expectedPowerShell . exePath ) ;
723
+ assert . strictEqual ( defaultPowerShell . displayName , expectedPowerShell . displayName ) ;
724
+ assert . strictEqual ( defaultPowerShell . supportsProperArguments , expectedPowerShell . supportsProperArguments ) ;
725
725
} ) ;
726
726
}
727
727
@@ -755,9 +755,9 @@ describe("Platform module", function () {
755
755
const foundPowerShell = foundPowerShells [ i ] ;
756
756
const expectedPowerShell = testPlatform . expectedPowerShellSequence [ i ] ;
757
757
758
- assert . strictEqual ( foundPowerShell && foundPowerShell . exePath , expectedPowerShell ! . exePath ) ;
759
- assert . strictEqual ( foundPowerShell && foundPowerShell . displayName , expectedPowerShell ! . displayName ) ;
760
- assert . strictEqual ( foundPowerShell && foundPowerShell . supportsProperArguments , expectedPowerShell ! . supportsProperArguments ) ;
758
+ assert . strictEqual ( foundPowerShell && foundPowerShell . exePath , expectedPowerShell . exePath ) ;
759
+ assert . strictEqual ( foundPowerShell && foundPowerShell . displayName , expectedPowerShell . displayName ) ;
760
+ assert . strictEqual ( foundPowerShell && foundPowerShell . supportsProperArguments , expectedPowerShell . supportsProperArguments ) ;
761
761
}
762
762
763
763
assert . strictEqual (
0 commit comments