Skip to content

Commit fb73b92

Browse files
committed
fix: Fix issue with path construction on windows #22
1 parent ef76e9c commit fb73b92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ async function run(env, eventPayload, fs, core) {
113113
const json = Object.fromEntries(result);
114114

115115
fs.writeFileSync(
116-
`${env.HOME}/issue-parser-result.json`,
116+
`${env.USERPROFILE || env.HOME}/issue-parser-result.json`,
117117
jsonStringify(json),
118118
"utf-8"
119119
);

0 commit comments

Comments
 (0)