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 534145a commit 30a2ffbCopy full SHA for 30a2ffb
dist/index.js
@@ -37,7 +37,7 @@ const getFileContent = async () => {
37
return null
38
}
39
40
- const filePath = path.join(__dirname, `../.github/workflows/${file}`)
+ const filePath = path.resolve(process.cwd(), `.github/workflows/${file}`)
41
const content = await fs.readFile(filePath, 'utf8')
42
if (!content) {
43
index.js
@@ -26,7 +26,7 @@ const getFileContent = async () => {
26
27
28
29
30
31
32
0 commit comments