diff --git a/devtools/client/inspector/breadcrumbs.js b/devtools/client/inspector/breadcrumbs.js index 6c72903e3d7d..afb4f33a1928 100644 --- a/devtools/client/inspector/breadcrumbs.js +++ b/devtools/client/inspector/breadcrumbs.js @@ -4,7 +4,6 @@ "use strict"; -const promise = require("promise"); const flags = require("devtools/shared/flags"); const { ELLIPSIS } = require("devtools/shared/l10n"); const EventEmitter = require("devtools/shared/event-emitter"); @@ -613,7 +612,7 @@ HTMLBreadcrumbs.prototype = { event.preventDefault(); event.stopPropagation(); - this.keyPromise = (this.keyPromise || promise.resolve(null)).then(() => { + this.keyPromise = (this.keyPromise || Promise.resolve(null)).then(() => { let currentnode; const isLeft = event.code === "ArrowLeft";