How to use the native function from rimraf
Find comprehensive JavaScript rimraf.native code examples handpicked from public code repositorys.
GitHub: cenfun/starfall-cli
1238 1239 1240 1241 1242 1243 1244 1245 1246 1247
}); }, async rm(f, option = {}) { let ok = true; await rimraf.native(f, option).catch(function(err) { console.error(err); ok = false; }); return ok;
0
1
1
+ 2 other calls in file
rimraf.sync is the most popular function in rimraf (722 examples)