mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-05 09:56:22 +00:00
Support post-save callback.
This commit is contained in:
parent
1603a4bc73
commit
0c1364593a
@ -199,6 +199,7 @@ Template-based resume generator base for FluentCV.
|
||||
try {
|
||||
MKDIRP.sync( PATH.dirname( tplInfo.major ? f : thisFilePath) );
|
||||
FS.writeFileSync( tplInfo.major ? f : thisFilePath, mk, { encoding: 'utf8', flags: 'w' } );
|
||||
this.onAfterSave && (mk = this.onAfterSave( { outputFile: (tplInfo.major ? f : thisFilePath), mk: mk } ));
|
||||
}
|
||||
catch(ex) {
|
||||
console.log(ex);
|
||||
|
Loading…
Reference in New Issue
Block a user