diff --git a/lib/exec.ts b/lib/exec.ts index 5c7733b0c..48de9b965 100644 --- a/lib/exec.ts +++ b/lib/exec.ts @@ -252,7 +252,7 @@ export function getCeWrapperOptions( options: ExecutionOptions ): NsJailOptions { options = {...options}; - const jailingOptions = ['-v',`--config=${getCeWrapperCfgFilePath(configName)}`]; + const jailingOptions = ['-v', `--config=${getCeWrapperCfgFilePath(configName)}`]; if (options.customCwd) { jailingOptions.push(`--home=${options.customCwd}`); diff --git a/test/exec-tests.ts b/test/exec-tests.ts index 695316867..ddb2b7471 100644 --- a/test/exec-tests.ts +++ b/test/exec-tests.ts @@ -265,6 +265,7 @@ describe('Execution tests', () => { }); options.args.should.deep.equals([ + '-v', '--config=' + path.resolve('etc/cewrapper/user-execution.json'), '--time_limit=1', '/path/to/something',