nl_tokens: Move files from src directory to dest directory ( not recursive ) . fs - extra s fs . move () method was failing when called on the src directory so we move files directly .
pl_tokens: async function move ( src , dest ) { const files = await fs . readdir ( src ) ; for ( const <mask> of files ) { await fs . move ( path . join ( src , file ) , path . join ( dest , file ) , { overwrite : true } ) ; } await fs . rmdir ( src ) ; }