Page MenuHomePhabricator

D5352.diff
No OneTemporary

D5352.diff

diff --git a/keyserver/loader.mjs b/keyserver/loader.mjs
--- a/keyserver/loader.mjs
+++ b/keyserver/loader.mjs
@@ -1,8 +1,9 @@
// @flow
+
const localPackages = ['landing', 'lib', 'web'];
-async function resolve(specifier, context, defaultResolve) {
- const defaultResult = defaultResolve(specifier, context, defaultResolve);
+async function resolve(specifier, context, nextResolve) {
+ const defaultResult = await nextResolve(specifier, context);
// Special hack to use Babel-transpiled lib and web
if (localPackages.some(pkg => specifier.startsWith(`${pkg}/`))) {

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 3, 9:13 AM (19 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2611139
Default Alt Text
D5352.diff (580 B)

Event Timeline