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
|
||||
try {
|
||||
let event = 'CREATED';
|
||||
if (!fs.existsSync(outputPath)) {
|
||||
if (fs.existsSync(outputPath)) {
|
||||
this.options.replace ? event = 'REPLACED' : event = 'MERGED';
|
||||
}
|
||||
this.save(outputPath, final);
|
||||
|
Loading…
x
Reference in New Issue
Block a user