Regenerating node_modules
This commit is contained in:
parent
09b4a82c83
commit
c96f84308a
5488 changed files with 487362 additions and 60779 deletions
13
node_modules/flat-cache/del.js
generated
vendored
Normal file
13
node_modules/flat-cache/del.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
var rimraf = require( 'rimraf' ).sync;
|
||||
var fs = require( 'fs' );
|
||||
|
||||
module.exports = function del( file ) {
|
||||
if ( fs.existsSync( file ) ) {
|
||||
//if rimraf doesn't throw then the file has been deleted or didn't exist
|
||||
rimraf( file, {
|
||||
glob: false
|
||||
} );
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue