From 9507f1857fab619dce0d577b31cb3e701a06e308 Mon Sep 17 00:00:00 2001 From: rosen-vladimirov Date: Thu, 19 Nov 2015 23:16:13 +0200 Subject: [PATCH] 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. --- lib/common | 2 +- lib/nativescript-cli.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/common b/lib/common index b04223adb3..86217092ba 160000 --- a/lib/common +++ b/lib/common @@ -1 +1 @@ -Subproject commit b04223adb32bb35a7b8bf2e21405ecdbc32542ff +Subproject commit 86217092ba00e2600103291e1e62c16e9d2f3c54 diff --git a/lib/nativescript-cli.ts b/lib/nativescript-cli.ts index eca0d38dd3..7175f6e83d 100644 --- a/lib/nativescript-cli.ts +++ b/lib/nativescript-cli.ts @@ -7,6 +7,8 @@ require("./common/verify-node-version").verifyNodeVersion(require("../package.js require("./bootstrap"); import * as fiber from "fibers"; import Future = require("fibers/future"); +import * as shelljs from "shelljs"; +shelljs.config.silent = true; import {installUncaughtExceptionListener} from "./common/errors"; installUncaughtExceptionListener(process.exit);