Skip to content

Commit

Permalink
chore: fixes typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarchaud committed Feb 12, 2020
1 parent 8bc3947 commit 8250be1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,13 @@ export class PluginLoader {
const plugin: Plugin = require(modulePath).plugin;
if (!utils.isSupportedVersion(version, plugin.supportedVersions)) {
this.logger.error(
`PluginLoader#load: Plugin ${name} only support module ${plugin.moduleName} with the versions: ${plugin.supportedVersions}`
`PluginLoader#load: Plugin ${name} only supports module ${plugin.moduleName} with the versions: ${plugin.supportedVersions}`
);
return exports;
}
if (plugin.moduleName !== name) {
this.logger.error(
`PluginLoader#load: Entry ${name} use a plugin that instrument ${plugin.moduleName}`
`PluginLoader#load: Entry ${name} use a plugin that instruments ${plugin.moduleName}`
);
return exports;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ describe('PluginLoader', () => {
pluginLoader.unload();
});

it('should not load a plugin that patch a different module that the one configured', () => {
it('should not load a plugin that patches a different module that the one configured', () => {
const pluginLoader = new PluginLoader(provider, logger);
assert.strictEqual(pluginLoader['_plugins'].length, 0);
pluginLoader.load(differentNamePlugins);
Expand Down

0 comments on commit 8250be1

Please sign in to comment.