mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-03 01:13:39 +00:00
removed fs-extra dependancy
This commit is contained in:
+3
-3
@@ -25,7 +25,7 @@ const child_process = require("child_process");
|
||||
const path = require("path");
|
||||
|
||||
// NPM modules
|
||||
const fs = require("fs-extra");
|
||||
const fs = require("fs");
|
||||
const ObjectiveJ = require("objj-runtime");
|
||||
const term = require("objj-runtime").term;
|
||||
|
||||
@@ -437,9 +437,9 @@ BundleTask.prototype.defineResourceTask = function(aResourcePath, aDestinationPa
|
||||
catch(anException) {
|
||||
}
|
||||
if (fs.lstatSync(aResourcePath).isDirectory())
|
||||
fs.copySync(aResourcePath, aDestinationPath, { recursive: true });
|
||||
copyRecursiveSync(aResourcePath, aDestinationPath);
|
||||
else
|
||||
fs.copySync(aResourcePath, aDestinationPath);
|
||||
fs.copyFileSync(aResourcePath, aDestinationPath);
|
||||
});
|
||||
this.enhance([aDestinationPath]);
|
||||
} if ((extension === ".xib" || extension === ".nib") && !this._preventsNib2Cib)
|
||||
|
||||
Reference in New Issue
Block a user