We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f7658c commit 576e7a3Copy full SHA for 576e7a3
src/run.ts
@@ -9,7 +9,7 @@ export const run = async (): Promise<void> => {
9
showInput(input)
10
11
core.startGroup('Read file content')
12
- const workSpace = process.env.GITHUB_WORKSPACE as string
+ const workSpace = process.env.GITHUB_WORKSPACE!
13
const filePath = path.join(workSpace, input.FilePath)
14
const content = fs.readFileSync(filePath, 'utf-8')
15
core.info(`[INFO] Done with file "${filePath}"`)
0 commit comments