cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stevengill <...@git.apache.org>
Subject [GitHub] cordova-lib pull request #597: CB-13451 (all platforms) "pkg not defined" ex...
Date Fri, 20 Oct 2017 18:43:01 GMT
Github user stevengill commented on a diff in the pull request:

    https://github.com/apache/cordova-lib/pull/597#discussion_r146039159
  
    --- Diff: src/plugman/init-defaults.js ---
    @@ -149,10 +149,11 @@ if (!pkg.author) {
         }
             : prompt('author');
     }
    -/* eslint-enable indent */
    -var license = pkg.license ||
    +var license = package.license ||
                   defaults.license ||
                   config.get('init.license') ||
                   config.get('init-license') ||
                   'ISC';
    +/* eslint-enable */
    --- End diff --
    
    is this needed? `/* eslint-enable */`


---

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


Mime
View raw message