Skip to content

Commit

Permalink
fix: use --no-verify when testing the Git permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Jan 22, 2020
1 parent 88fe819 commit b54b20d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/git.js
Expand Up @@ -204,7 +204,7 @@ async function isGitRepo(execaOpts) {
*/
async function verifyAuth(repositoryUrl, branch, execaOpts) {
try {
await execa('git', ['push', '--dry-run', repositoryUrl, `HEAD:${branch}`], execaOpts);
await execa('git', ['push', '--dry-run', '--no-verify', repositoryUrl, `HEAD:${branch}`], execaOpts);
} catch (error) {
debug(error);
throw error;
Expand Down

0 comments on commit b54b20d

Please sign in to comment.