@@ -25,23 +25,23 @@ if ($env:VSCODE_ENV_REPLACE) {
25
25
$Split = $env: VSCODE_ENV_REPLACE.Split (" :" )
26
26
foreach ($Item in $Split ) {
27
27
$Inner = $Item.Split (' =' )
28
- [Environment ]::SetEnvironmentVariable($Inner [0 ], $Inner [1 ])
28
+ [Environment ]::SetEnvironmentVariable($Inner [0 ], $Inner [1 ].Replace( ' \x3a ' , ' : ' ) )
29
29
}
30
30
$env: VSCODE_ENV_REPLACE = $null
31
31
}
32
32
if ($env: VSCODE_ENV_PREPEND ) {
33
33
$Split = $env: VSCODE_ENV_PREPEND.Split (" :" )
34
34
foreach ($Item in $Split ) {
35
35
$Inner = $Item.Split (' =' )
36
- [Environment ]::SetEnvironmentVariable($Inner [0 ], $Inner [1 ] + [Environment ]::GetEnvironmentVariable($Inner [0 ]))
36
+ [Environment ]::SetEnvironmentVariable($Inner [0 ], $Inner [1 ].Replace( ' \x3a ' , ' : ' ) + [Environment ]::GetEnvironmentVariable($Inner [0 ]))
37
37
}
38
38
$env: VSCODE_ENV_PREPEND = $null
39
39
}
40
40
if ($env: VSCODE_ENV_APPEND ) {
41
41
$Split = $env: VSCODE_ENV_APPEND.Split (" :" )
42
42
foreach ($Item in $Split ) {
43
43
$Inner = $Item.Split (' =' )
44
- [Environment ]::SetEnvironmentVariable($Inner [0 ], [Environment ]::GetEnvironmentVariable($Inner [0 ]) + $Inner [1 ])
44
+ [Environment ]::SetEnvironmentVariable($Inner [0 ], [Environment ]::GetEnvironmentVariable($Inner [0 ]) + $Inner [1 ].Replace( ' \x3a ' , ' : ' ) )
45
45
}
46
46
$env: VSCODE_ENV_APPEND = $null
47
47
}
0 commit comments