[WindowsUtils] Fix variable using const
This commit is contained in:
parent
e8a5ceedb6
commit
6c0edb9275
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ const { join } = require('path');
|
||||||
const regExePath = process.env.SystemRoot ? join(process.env.SystemRoot, 'System32', 'reg.exe') : 'reg.exe';
|
const regExePath = process.env.SystemRoot ? join(process.env.SystemRoot, 'System32', 'reg.exe') : 'reg.exe';
|
||||||
|
|
||||||
const spawn = (cmd, args, callback = (() => {})) => {
|
const spawn = (cmd, args, callback = (() => {})) => {
|
||||||
const stdout = '';
|
let stdout = '';
|
||||||
let process;
|
let process;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue