You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2017/12/08 08:06:06 UTC

[cordova-cli] branch master updated: um ... linting. fml

This is an automated email from the ASF dual-hosted git repository.

purplecabbage pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-cli.git


The following commit(s) were added to refs/heads/master by this push:
     new f0a8105  um ... linting. fml
f0a8105 is described below

commit f0a81059d5bd113f484c3afa85d5f7fb52680f2f
Author: Jesse MacFadyen <pu...@gmail.com>
AuthorDate: Fri Dec 8 00:05:14 2017 -0800

    um ... linting. fml
---
 src/cli.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cli.js b/src/cli.js
index 4adb009..9d9e77b 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -77,9 +77,9 @@ var shortHands = {
 function checkForUpdates () {
     try {
         // Checks for available update and returns an instance
-        var notifier = updateNotifier({pkg:pkg});
+        var notifier = updateNotifier({pkg: pkg});
 
-        if(notifier.update &&
+        if (notifier.update &&
            notifier.update.latest !== pkg.version) {
             // Notify using the built-in convenience method
             notifier.notify();

-- 
To stop receiving notification emails like this one, please contact
['"commits@cordova.apache.org" <co...@cordova.apache.org>'].

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org