Skip to content

Commit

Permalink
[FIX] Fix some typos in log messages (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
codeworrior committed Jun 26, 2018
1 parent 0fb9132 commit 1f2f2fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/translators/npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class NpmTranslator {
const moduleName = data.name;
const pkg = data.pkg;

log.verbose("Analyzing %s (%s) (depenency of %s)", moduleName, cwd, parentName || "nothing - root project");
log.verbose("Analyzing %s (%s) (dependency of %s)", moduleName, cwd, parentName || "nothing - root project");

/*
* Inject collection definitions for some known projects
Expand Down Expand Up @@ -57,7 +57,7 @@ class NpmTranslator {

for (let depName in dependencies) {
if (dependencies.hasOwnProperty(depName) && ui5Deps.indexOf(depName) === -1) {
log.verbose("Ignoring npm depenency %s. Not defined in UI5-dependency configuration.", depName);
log.verbose("Ignoring npm dependency %s. Not defined in UI5-dependency configuration.", depName);
delete dependencies[depName];
}
}
Expand Down Expand Up @@ -201,7 +201,7 @@ class NpmTranslator {
this.shimCollection(pkg.name, pkg);
if (pkg.collection) {
log.verbose(
"Unable to locate module %s via resolve logic but found a collection in parent hierarchy: %s",
"Unable to locate module %s via resolve logic, but found a collection in parent hierarchy: %s",
moduleName, pkg.name);
const modules = pkg.collection.modules || {};
if (modules[moduleName]) {
Expand Down

0 comments on commit 1f2f2fd

Please sign in to comment.