Fix path problem

This commit is contained in:
David Anthoff
2020-03-23 11:52:12 -07:00
parent 95b335e1f9
commit b3685c2099

View File

@@ -7,7 +7,7 @@ async function run(): Promise<void> {
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.')