Fix created vs replaced/merge message
This commit is contained in:
parent
cb8731ee0f
commit
e50d52003b
@ -73,7 +73,7 @@ export class ExtractTask implements TaskInterface {
|
|||||||
// Save
|
// Save
|
||||||
try {
|
try {
|
||||||
let event = 'CREATED';
|
let event = 'CREATED';
|
||||||
if (!fs.existsSync(outputPath)) {
|
if (fs.existsSync(outputPath)) {
|
||||||
this.options.replace ? event = 'REPLACED' : event = 'MERGED';
|
this.options.replace ? event = 'REPLACED' : event = 'MERGED';
|
||||||
}
|
}
|
||||||
this.save(outputPath, final);
|
this.save(outputPath, final);
|
||||||
|
Loading…
Reference in New Issue
Block a user