Skip to content

Commit

Permalink
fix(feature): use proper parameter to check extension
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedshuhel committed Mar 24, 2016
1 parent 0cdc688 commit c179a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework-configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export class FrameworkConfiguration {
return this.plugin({ moduleId: plugin + '/index', resourcesRelativeTo: [plugin, ''], config: config || {} });

function hasExt(name) {
return (plugin.split('.')).length > 1;
return (name.split('.')).length > 1;
}
}

Expand Down

0 comments on commit c179a3e

Please sign in to comment.