refactor: remove redundant error in catch (#25478)

PR Close #25478
This commit is contained in:
Alan Agius
2018-08-14 15:34:51 +02:00
committed by Kara Erickson
parent 929334b0bf
commit b61dafaeac
15 changed files with 28 additions and 28 deletions

View File

@ -64,7 +64,7 @@ function addScript(options: Schema) {
scripts.push({input: script});
host.overwrite('angular.json', JSON.stringify(json, null, 2));
}
} catch (e) {
} catch {
context.logger.log(
'warn', 'Failed to add the polyfill document-register-element.js to scripts');
}