Skip to content

Commit

Permalink
fix: Commit messages aren't fully shell escaped
Browse files Browse the repository at this point in the history
`app` , "test", 'foo'

close #164
close #162

Signed-off-by: Minsu Lee <amond@amond.net>
  • Loading branch information
amondnet committed Jun 27, 2022
1 parent 190984d commit b818161
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ async function vercelDeploy(ref, commit) {

const providedArgs = vercelArgs.split(/ +/);

const commitMessage = commit.replace("'", "'\\''");
const commitMessage = commit.replace("'", "'\\''").replace("`", "'\\'`");

const args = [
...vercelArgs.split(/ +/),
Expand Down

0 comments on commit b818161

Please sign in to comment.