sqlaravel 1.0.4 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
package/install.js
CHANGED
@@ -2,23 +2,12 @@ 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
|
12
|
-
fs.cp(
|
13
|
-
if (err) {
|
14
|
-
console.error("Error Install");
|
15
|
-
console.error(err);
|
16
|
-
} else {
|
17
|
-
console.log("successful resource installation");
|
18
|
-
}
|
19
|
-
});
|
20
|
-
|
21
|
-
fs.cp(filesDir_p, dest_p, {recursive: true, force: false}, (err, data) => {
|
10
|
+
fs.cp(filesDir, dest, {recursive: true, force: false}, (err, data) => {
|
22
11
|
if (err) {
|
23
12
|
console.error("Error Install");
|
24
13
|
console.error(err);
|
package/package.json
CHANGED
File without changes
|
package/files/public/js/.remove
DELETED
File without changes
|
File without changes
|