Fix double backlashes in Windows vscode scripts
This commit is contained in:
2
package-lock.json
generated
2
package-lock.json
generated
@@ -6,7 +6,7 @@
|
|||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "privacy.sexy",
|
"name": "privacy.sexy",
|
||||||
"version": "0.11.1",
|
"version": "0.11.2",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-svg-core": "^1.2.36",
|
"@fortawesome/fontawesome-svg-core": "^1.2.36",
|
||||||
|
|||||||
@@ -6410,9 +6410,9 @@ functions:
|
|||||||
function: RunPowerShell
|
function: RunPowerShell
|
||||||
parameters:
|
parameters:
|
||||||
code: |-
|
code: |-
|
||||||
$jsonfile = \"$env:APPDATA\Code\User\settings.json\"
|
$jsonfile = "$env:APPDATA\Code\User\settings.json"
|
||||||
if (!(Test-Path $jsonfile -PathType Leaf)) {
|
if (!(Test-Path $jsonfile -PathType Leaf)) {
|
||||||
Write-Host \"No updates. Settings file was not at $jsonfile\"
|
Write-Host "No updates. Settings file was not at $jsonfile"
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
$json = Get-Content $jsonfile | Out-String | ConvertFrom-Json
|
$json = Get-Content $jsonfile | Out-String | ConvertFrom-Json
|
||||||
|
|||||||
Reference in New Issue
Block a user