mirror of
https://github.com/julia-actions/julia-processcoverage.git
synced 2026-02-11 18:46:58 +08:00
Fix path problem
This commit is contained in:
@@ -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.')
|
||||
|
||||
Reference in New Issue
Block a user