[WindowsUtils] Fix variable using const

This commit is contained in:
Ducko 2021-12-13 14:55:19 +00:00
parent e8a5ceedb6
commit 6c0edb9275

View file

@ -4,7 +4,7 @@ const { join } = require('path');
const regExePath = process.env.SystemRoot ? join(process.env.SystemRoot, 'System32', 'reg.exe') : 'reg.exe';
const spawn = (cmd, args, callback = (() => {})) => {
const stdout = '';
let stdout = '';
let process;
try {