Skip to content

Commit

Permalink
Enable replace value to be an empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
t2oh4e committed Mar 7, 2023
1 parent 4d085e8 commit 04b0b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func main() {
}

if replaceErr != nil {
panic(errors.New("gha-find-replace: expected with.replace to be a string"))
replace = ""
}

if regexErr != nil {
Expand Down

0 comments on commit 04b0b14

Please sign in to comment.