Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
use pluginloader for plugin canonicalization
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed May 24, 2016
1 parent 5417f46 commit 0164594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/trace.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ Trace.prototype.getLoadRecord = function(canonical, excludeURLs, parentStack) {
.then(function() {
// set load.plugin to canonical plugin name if a plugin load
if (load.metadata.loaderModule)
return Promise.resolve(loader.normalize(load.metadata.loader, normalized))
return Promise.resolve(loader.pluginLoader.normalize(load.metadata.loader, normalized))
.then(function(pluginNormalized) {
load.plugin = getCanonicalName(loader, pluginNormalized);

Expand Down

0 comments on commit 0164594

Please sign in to comment.