Skip to content

Commit

Permalink
fix: directly specify location of package.json missing i18n config (#401
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ChazUK authored Mar 4, 2021
1 parent e9af26d commit 54ee98a
Show file tree
Hide file tree
Showing 3 changed files with 533 additions and 5 deletions.
2 changes: 1 addition & 1 deletion projects/ngneat/transloco-scoped-libs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function run({ watch, skipGitignore, rootTranslationsPath, scopedLibs } = {}) {
}
const pkg = utils.getPackageJson(lib.src);
if (!pkg.content.i18n) {
return console.log(chalk.red('package.json is missing i18n information.', i18nExample));
return console.log(chalk.red(`${path.join(lib.src, 'package.json')} is missing i18n information.`, i18nExample));
}

if (!lib.dist || lib.dist.length === 0) {
Expand Down
Loading

0 comments on commit 54ee98a

Please sign in to comment.