aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/wsl-vc.js
diff options
context:
space:
mode:
authorMatt Godbolt <matt@godbolt.org>2022-12-28 11:42:14 -0600
committerGitHub <noreply@github.com>2022-12-28 11:42:14 -0600
commit749319f7912ff479d25d9afb1e751f4ea704b0e2 (patch)
tree6f1504440fcdaf033dc406d454bb00299b0d8fa6 /lib/compilers/wsl-vc.js
parentb597095f6ee657e6b1fde4b02f9bb2f61457d225 (diff)
downloadcompiler-explorer-749319f7912ff479d25d9afb1e751f4ea704b0e2.tar.gz
compiler-explorer-749319f7912ff479d25d9afb1e751f4ea704b0e2.zip
Slightly more controversial bumpings (#4503)gh-5552
- latest sentry, tar-stream, which, some yamljs versions - latest eslint-* stuff - latest webpack manifest - Applies all the automatic fixes for newer lint rules - Bump the webpack version applies new tslint stuff
Diffstat (limited to 'lib/compilers/wsl-vc.js')
-rw-r--r--lib/compilers/wsl-vc.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compilers/wsl-vc.js b/lib/compilers/wsl-vc.js
index edc3b8062..5e1f24d8c 100644
--- a/lib/compilers/wsl-vc.js
+++ b/lib/compilers/wsl-vc.js
@@ -69,10 +69,10 @@ export class WslVcCompiler extends Win32VcCompiler {
options.env = Object.assign({}, options.env);
let old_env = options.env['WSLENV'];
- if (!old_env) {
- old_env = '';
- } else {
+ if (old_env) {
old_env = ':' + old_env;
+ } else {
+ old_env = '';
}
options.env['WSLENV'] = 'INCLUDE:LIB' + old_env;