Skip to content

Commit

Permalink
fix: remove debugging console.error
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Oct 20, 2018
1 parent cfc1003 commit 3d5db1f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,12 @@ async function run(context, plugins) {
try {
await verifyAuth(options.repositoryUrl, options.branch, {cwd, env});
} catch (error) {
console.error('call isBranchUpToDate');
if (!(await isBranchUpToDate(options.branch, {cwd, env}))) {
logger.log(
`The local branch ${options.branch} is behind the remote one, therefore a new version won't be published.`
);
return false;
}
console.error('call throw error');
throw error;
}
} catch (error) {
Expand Down

0 comments on commit 3d5db1f

Please sign in to comment.