Skip to content

Commit

Permalink
fix: update character escaped by safe output
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Dec 24, 2023
1 parent 7aaf10d commit c367ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,7 @@ export const setOutput = async ({
// if safeOutput is true, escape special characters for bash shell
if (safeOutput) {
cleanedValue = cleanedValue.replace(
/[^\x20-\x7E]|[:*?"<>|;`$()&!]/g,
/[^\x20-\x7E]|[:*?<>|;`$()&!]/g,
'\\$&'
)
}
Expand Down

0 comments on commit c367ee3

Please sign in to comment.