mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
fixed bug that broke the build process when building twice
This commit is contained in:
+2
-1
@@ -211,10 +211,11 @@ setupEnvironment();
|
||||
|
||||
global.rm_rf = function(/*String*/ aFilename)
|
||||
{
|
||||
try { fs.rm(aFilename, {recursive: true, force: true}); }
|
||||
try { fs.rmSync(aFilename, {recursive: true, force: true}); }
|
||||
catch (anException) { }
|
||||
};
|
||||
|
||||
|
||||
// from stackoverflow
|
||||
function copyRecursiveSync (src, dest) {
|
||||
var exists = fs.existsSync(src);
|
||||
|
||||
Reference in New Issue
Block a user