Skip to content
This repository was archived by the owner on Jul 27, 2021. It is now read-only.

Fix issues giving a SyntaxError. #36

Merged
merged 1 commit into from
Mar 1, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix issue's giving a SyntaxError.
  • Loading branch information
MichMich authored Mar 1, 2017
commit a6efa0916635f5ef8794129b589b05586c1ae34e
6 changes: 3 additions & 3 deletions src/formatters/moduleNotFound.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function dependenciesNotFound (dependencies) {
'',
dependencies.map(formatGroup),
'',
forgetToInstall(dependencies),
forgetToInstall(dependencies)
);
}

Expand All @@ -45,7 +45,7 @@ function relativeModulesNotFound (modules) {
return concat(
modules.length === 1 ? 'This relative module was not found:' : 'These relative modules were not found:',
'',
modules.map(formatGroup),
modules.map(formatGroup)
);
}

Expand Down Expand Up @@ -79,7 +79,7 @@ function formatErrors (errors) {
return concat(
dependenciesNotFound(dependencies),
dependencies.length && relativeModules.length ? ['', ''] : null,
relativeModulesNotFound(relativeModules),
relativeModulesNotFound(relativeModules)
);
}

Expand Down