Skip to content

Commit ebc905f

Browse files
Silent shelljs by default
Shelljs likes to report some warnings, which we do not want to show to our users. So set it to silent mode by default. In case for any shelljs command you want to show the warnings, just set silent to false before executing it.
1 parent 4d8c36a commit ebc905f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/common

lib/nativescript-cli.ts

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ require("./common/verify-node-version").verifyNodeVersion(require("../package.js
77
require("./bootstrap");
88
import * as fiber from "fibers";
99
import Future = require("fibers/future");
10+
import * as shelljs from "shelljs";
11+
shelljs.config.silent = true;
1012
import {installUncaughtExceptionListener} from "./common/errors";
1113
installUncaughtExceptionListener(process.exit);
1214

0 commit comments

Comments
 (0)