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

Commit 72e346b

Browse files
MichMichgeowarin
authored andcommitted
Fix issue's giving a SyntaxError. (#36)
1 parent b450dee commit 72e346b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/formatters/moduleNotFound.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function dependenciesNotFound (dependencies) {
3535
'',
3636
dependencies.map(formatGroup),
3737
'',
38-
forgetToInstall(dependencies),
38+
forgetToInstall(dependencies)
3939
);
4040
}
4141

@@ -45,7 +45,7 @@ function relativeModulesNotFound (modules) {
4545
return concat(
4646
modules.length === 1 ? 'This relative module was not found:' : 'These relative modules were not found:',
4747
'',
48-
modules.map(formatGroup),
48+
modules.map(formatGroup)
4949
);
5050
}
5151

@@ -79,7 +79,7 @@ function formatErrors (errors) {
7979
return concat(
8080
dependenciesNotFound(dependencies),
8181
dependencies.length && relativeModules.length ? ['', ''] : null,
82-
relativeModulesNotFound(relativeModules),
82+
relativeModulesNotFound(relativeModules)
8383
);
8484
}
8585

0 commit comments

Comments
 (0)