Skip to content

Commit

Permalink
fix: No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
LasyIsLazy committed Jan 21, 2021
1 parent 4b40455 commit 472c922
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ const core = require('@actions/core')

async function upload(
base64Content,
{ Authorization, remotePath, username, repo, commitMessage = 'Upload' }
{ Authorization, remotePath, username, repo, commitMessage }
) {

if (!commitMessage) {
commitMessage = 'Upload'
}

const url =
BASE_URL +
path.posix.join(
Expand Down

0 comments on commit 472c922

Please sign in to comment.