Simplify dirname option in plugins/presets? (#6436)

This commit is contained in:
Logan Smyth 2017-10-18 08:59:32 -07:00 committed by GitHub
parent 85d82152c6
commit 445b252bc4

View File

@ -303,7 +303,7 @@ const loadDescriptor = makeWeakCache(
});
try {
item = value(api, options, { dirname });
item = value(api, options, dirname);
} catch (e) {
if (alias) {
e.message += ` (While processing: ${JSON.stringify(alias)})`;