Remove useless variable

This commit is contained in:
Vrganj 2021-01-25 18:30:07 +01:00
parent 78f97b28b4
commit 53842e8582
1 changed files with 0 additions and 1 deletions

View File

@ -7,7 +7,6 @@ const LXC_ROOT = '/var/lib/lxc/piston/rootfs';
function execute(language, source, stdin = '', args = []) {
return new Promise(resolve => {
const id = new Date().getTime() + '_' + Math.floor(Math.random() * 10000000);
const sourceFile = `/tmp/${stamp}.code`;
mkdirSync(`${LXC_ROOT}/tmp/${id}`);
writeFileSync(`${LXC_ROOT}/tmp/${id}/code.code`, source);