Fix typo in LanguageHandler.js /dev/nul -> /dev/null

This commit is contained in:
Ruyi Li 2019-03-12 22:56:59 -04:00 committed by 1computer1
parent ec5d2a8ce0
commit 0fa062875b

View file

@ -70,7 +70,7 @@ class LanguageHandler extends AkairoHandler {
if (process.platform === 'win32') { if (process.platform === 'win32') {
childProcess.execSync(`docker kill --signal=9 ${name} >nul 2>nul`); childProcess.execSync(`docker kill --signal=9 ${name} >nul 2>nul`);
} else { } else {
childProcess.execSync(`docker kill --signal=9 ${name} >/dev/null 2>/dev/nul`); childProcess.execSync(`docker kill --signal=9 ${name} >/dev/null 2>/dev/null`);
} }
reject(new Error('Evaluation timed out')); reject(new Error('Evaluation timed out'));