fix(bitbucket): fix rebasing mistakes in bitbucket backend and deps (#1522)

This commit is contained in:
Shawn Erquhart
2018-07-26 13:42:19 -04:00
committed by GitHub
parent 6eb86957d0
commit bdfd9443db
8 changed files with 9 additions and 11 deletions

View File

@ -61,7 +61,6 @@ class Authenticator {
cb(null, data);
}
if (e.data.indexOf('authorization:' + options.provider + ':error:') === 0) {
console.log('Got authorization error');
const err = JSON.parse(e.data.match(new RegExp('^authorization:' + options.provider + ':error:(.+)$'))[1]);
window.removeEventListener('message', fn, false);
this.authWindow.close();