You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Josh Soref (JIRA)" <ji...@apache.org> on 2014/06/27 22:02:24 UTC

[jira] [Created] (CB-7045) improve plugman install (+spec)

Josh Soref created CB-7045:
------------------------------

             Summary: improve plugman install (+spec)
                 Key: CB-7045
                 URL: https://issues.apache.org/jira/browse/CB-7045
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugman
    Affects Versions: 3.5.0
            Reporter: Josh Soref
            Assignee: Josh Soref


Currently install.spec skips some of its tests, i'd like more of them to work.
{quote}
function checkEngines(engines) {
...
        if ( semver.satisfies(engine.currentVersion, engine.minVersion) || engine.currentVersion === null ) {
{quote}
this expects currentVersion to be a *number* or {{null}}, but currently it's possible for it to be {{""}}

{{cleanVersionOutput}} will take {{""}} and return {{""}} which isn't helpful...

{{callEngineScripts}} calls {{child_process.exec(scriptPath...}} and handles error, but not no output.




--
This message was sent by Atlassian JIRA
(v6.2#6252)