fix: remove debugging console.error
This commit is contained in:
parent
cfc10039f3
commit
3d5db1f8b0
2
index.js
2
index.js
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user