Skip to content

Commit b6be58b

Browse files
Fix scripts
Fix postinstall and preuninstall scripts which incorrectly try to start `bin/nativescript.js`, which does not exist anymore.
1 parent faab8f7 commit b6be58b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

postinstall.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22

33
var child_process = require("child_process");
4-
var commandArgs = ["bin/nativescript.js", "post-install-cli"];
4+
var commandArgs = ["bin/tns", "post-install-cli"];
55
var path = require("path");
66
var nodeArgs = require(path.join(__dirname, "lib", "common", "scripts", "node-args")).getNodeArgs();
77

preuninstall.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22

33
var child_process = require("child_process");
4-
var commandArgs = ["bin/nativescript.js", "dev-preuninstall"];
4+
var commandArgs = ["bin/tns", "dev-preuninstall"];
55
var path = require("path");
66
var nodeArgs = require(path.join(__dirname, "lib", "common", "scripts", "node-args")).getNodeArgs();
77

0 commit comments

Comments
 (0)