You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/11/24 17:37:55 UTC
[cordova-paramedic] 02/03: log all executed command explicitly
This is an automated email from the ASF dual-hosted git repository.
janpio pushed a commit to branch janpio-misc
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git
commit 26531a9fdf2d70015f5d85e009199760c0544797
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Sat Nov 24 18:31:04 2018 +0100
log all executed command explicitly
---
lib/utils/execWrapper.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/utils/execWrapper.js b/lib/utils/execWrapper.js
index e00be10..ab2f95a 100644
--- a/lib/utils/execWrapper.js
+++ b/lib/utils/execWrapper.js
@@ -22,6 +22,7 @@ var Q = require('q');
var verbose;
function exec(cmd, onFinish, onData) {
+ console.log('$ ' + cmd)
if (onFinish instanceof Function || onFinish === null) {
var result = shelljs.exec(cmd, {async: true, silent: !verbose}, onFinish);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org