Skip to content

Commit

Permalink
Support relative workdir inputs
Browse files Browse the repository at this point in the history
After chdir() get full path with cwd()
  • Loading branch information
Michal Dorner committed Jan 14, 2021
1 parent b28f91c commit 6f32e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function main(): Promise<void> {
process.chdir(workDirInput)
}

const workDir = normalizeDirPath(workDirInput || process.cwd(), true)
const workDir = normalizeDirPath(process.cwd(), true)
const octokit = github.getOctokit(token)
const sha = getCheckRunSha()

Expand Down

0 comments on commit 6f32e41

Please sign in to comment.