Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
05d1917f9d | ||
|
e50d52003b |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@biesbjerg/ngx-translate-extract",
|
||||
"version": "6.0.2",
|
||||
"version": "6.0.3",
|
||||
"description": "Extract strings from projects using ngx-translate",
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
|
@@ -73,7 +73,7 @@ export class ExtractTask implements TaskInterface {
|
||||
// Save
|
||||
try {
|
||||
let event = 'CREATED';
|
||||
if (!fs.existsSync(outputPath)) {
|
||||
if (fs.existsSync(outputPath)) {
|
||||
this.options.replace ? event = 'REPLACED' : event = 'MERGED';
|
||||
}
|
||||
this.save(outputPath, final);
|
||||
|
Reference in New Issue
Block a user