mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
Fix for cli with new node scripts
This commit is contained in:
@@ -18,13 +18,6 @@
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
*/
|
||||
try {
|
||||
require.resolve("shelljs");
|
||||
} catch(e) {
|
||||
console.error('Shelljs module was not found, please run \'npm install\' from the bin folder.');
|
||||
process.exit(e.code);
|
||||
}
|
||||
|
||||
var shell = require('shelljs'),
|
||||
path = require('path'),
|
||||
fs = require('fs'),
|
||||
|
||||
Reference in New Issue
Block a user