Browse Source

0.2.2

Fix arguments order to invoke testlib checker
Marcelo Fornet 5 years ago
parent
commit
ae05c3e348
2 changed files with 2 additions and 2 deletions
  1. 1 1
      package.json
  2. 1 1
      src/core.ts

+ 1 - 1
package.json

@@ -4,7 +4,7 @@
     "description": "Competitive Programming made simple",
     "icon": "images/logo.png",
     "publisher": "marx24",
-    "version": "0.2.1",
+    "version": "0.2.2",
     "license": "MIT",
     "engines": {
         "vscode": "^1.30.0"

+ 1 - 1
src/core.ts

@@ -375,7 +375,7 @@ export function timedRun(path: string, tcName: string, timeout: number){
     closeSync(currentFd);
 
     let checker_path = get_checker_path();
-    let checker_result = child_process.spawnSync(checker_path, [tcInput, tcCurrent, tcOutput]);
+    let checker_result = child_process.spawnSync(checker_path, [tcInput, tcOutput, tcCurrent]);
 
     if (checker_result.status !== 0){
         return new TestcaseResult(Veredict.WA);