Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit cd180d4

Browse files
committed
fix(translate): Update path to run ngx-translate-extract
1 parent 723cdf4 commit cd180d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands/translate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export class Translate extends Command {
223223
if (err) {
224224
reject(new Error('The path you supplied was not found'));
225225
} else {
226-
const command = 'ngx-translate-extract ' +
226+
const command = 'node ' + resolvePath(__dirname, '..', '..', 'node_modules/@biesbjerg/ngx-translate-extract/bin/cli.js') + ' ' +
227227
'--patterns ' + newExcludes.join(' ') + ' ' +
228228
'--input ' + inputFolder + ' ' +
229229
'--output ' + outputFolder + ' ' +

0 commit comments

Comments
 (0)