Remove unnecessary dependency promise-any-polyfill
Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io>
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
"express": "^4.17.1",
|
||||
"express-promise-router": "^4.1.0",
|
||||
"jenkins": "^1.0.0",
|
||||
"promise-any-polyfill": "^1.0.1",
|
||||
"winston": "^3.2.1",
|
||||
"yn": "^4.0.0"
|
||||
},
|
||||
|
||||
@@ -30,12 +30,6 @@ import {
|
||||
import { jenkinsExecutePermission } from '@backstage/plugin-jenkins-common';
|
||||
import { NotAllowedError } from '@backstage/errors';
|
||||
|
||||
if (!Promise.any) {
|
||||
(async () => {
|
||||
await import('promise-any-polyfill');
|
||||
})();
|
||||
}
|
||||
|
||||
export class JenkinsApiImpl {
|
||||
private static readonly lastBuildTreeSpec = `lastBuild[
|
||||
number,
|
||||
|
||||
Reference in New Issue
Block a user