nl_tokens: Copy refrence directory in temporary directory
pl_tokens: function ( ) { fse . emptyDirSync ( tmpDir ) ; fse . copySync ( refSrcDir , tmpDir , { overwrite : true } , err => { if ( err ) { console . <mask> ( ':::~~error in copying to temp directory:' + err + '~~:::' ) ; fse . removeSync ( destFolderDir ) ; fse . emptyDirSync ( tmpDir ) ; deferred . reject ( 'Error in copying to temp directory' ) ; } console . log ( ':::~~ temp directory created~~:::' ) ; } ) ; }