aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/wsl-vc.js
diff options
context:
space:
mode:
authorJeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>2023-01-17 12:31:49 -0500
committerJeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>2023-01-17 12:31:49 -0500
commit6207cb2d6e30d709c29175aa9a94707a0f9934d1 (patch)
tree5e51c3ea00760b5452d128d3cf4f54f0c511d65d /lib/compilers/wsl-vc.js
parent68aa631366bfb5e6efd74f03326795e70894019a (diff)
downloadcompiler-explorer-6207cb2d6e30d709c29175aa9a94707a0f9934d1.tar.gz
compiler-explorer-6207cb2d6e30d709c29175aa9a94707a0f9934d1.zip
npm run lint to get const fixesgh-5871
Diffstat (limited to 'lib/compilers/wsl-vc.js')
-rw-r--r--lib/compilers/wsl-vc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/wsl-vc.js b/lib/compilers/wsl-vc.js
index 5e1f24d8c..aeed39143 100644
--- a/lib/compilers/wsl-vc.js
+++ b/lib/compilers/wsl-vc.js
@@ -65,7 +65,7 @@ export class WslVcCompiler extends Win32VcCompiler {
}
exec(compiler, args, options_) {
- let options = Object.assign({}, options_);
+ const options = Object.assign({}, options_);
options.env = Object.assign({}, options.env);
let old_env = options.env['WSLENV'];