diff --git a/apps/remixdesktop/afterbuild.js b/apps/remixdesktop/afterbuild.js index bf90d92679..eaf95ea217 100644 --- a/apps/remixdesktop/afterbuild.js +++ b/apps/remixdesktop/afterbuild.js @@ -1,7 +1,7 @@ const { spawn } = require('child_process'); exports.default = async function afterbuild(context) { console.log('AFTER BUILD', context); - const child = spawn('ls', '-la', { shell: true }); + const child = spawn('ls', ['-la'], { shell: true }); child.stdout.on('data', (data) => { console.log(`stdout: ${data}`); @@ -15,4 +15,4 @@ exports.default = async function afterbuild(context) { console.log(`child process exited with code ${code}`); }); -} \ No newline at end of file +}