sqlaravel 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
File without changes
|
File without changes
|
package/install.js
CHANGED
@@ -2,10 +2,8 @@ const
|
|
2
2
|
fs = require("fs"),
|
3
3
|
|
4
4
|
// args = process.argv.slice(2),
|
5
|
-
|
6
|
-
|
7
|
-
filesDir_r = "files/resources/"
|
8
|
-
filesDir_p = "files/public/"
|
5
|
+
dest = "../../",
|
6
|
+
filesDir = "files/"
|
9
7
|
;
|
10
8
|
|
11
9
|
// Copy files to the project
|
@@ -18,12 +16,3 @@ fs.cp(filesDir_r, dest_r, {recursive: true, force: false}, (err, data) => {
|
|
18
16
|
}
|
19
17
|
});
|
20
18
|
|
21
|
-
fs.cp(filesDir_p, dest_p, {recursive: true, force: false}, (err, data) => {
|
22
|
-
if (err) {
|
23
|
-
console.error("Error Install");
|
24
|
-
console.error(err);
|
25
|
-
} else {
|
26
|
-
console.log("successful resource installation");
|
27
|
-
}
|
28
|
-
});
|
29
|
-
|