From 486165cd7c71cacd215f7b68bcbc5f7540bca2be Mon Sep 17 00:00:00 2001 From: Partouf Date: Sat, 25 Feb 2023 16:08:14 +0100 Subject: [PATCH] fix --- lib/exec.ts | 2 +- test/exec-tests.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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',