From b3685c2099ac2162f8b466a8d6590845773ab3f5 Mon Sep 17 00:00:00 2001 From: David Anthoff Date: Mon, 23 Mar 2020 11:52:12 -0700 Subject: [PATCH] Fix path problem --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 0c4fcd8..9a8c0ce 100644 --- a/src/main.ts +++ b/src/main.ts @@ -7,7 +7,7 @@ async function run(): Promise { if (require.main) { let rootPath = path.dirname(require.main.filename); - await exec.exec('julia', ['--color=yes', path.join(rootPath, 'src', 'main.jl')]); + await exec.exec('julia', ['--color=yes', path.join(rootPath, '..', 'src', 'main.jl')]); } else { core.setFailed('Require method to load root path did not work.')