You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/11/24 17:14:00 UTC

[jira] [Commented] (CB-12210) Specifying the --plugin flag without a value causes an exception

    [ https://issues.apache.org/jira/browse/CB-12210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16697892#comment-16697892 ] 

ASF GitHub Bot commented on CB-12210:
-------------------------------------

janpio commented on issue #19: [CB-12210] require a string when parsing the plugin argument.
URL: https://github.com/apache/cordova-paramedic/pull/19#issuecomment-441381966
 
 
   Resolved a conflict.
   
   This change uses https://github.com/substack/minimist#var-argv--parseargsargs-opts, first bullet point:
   > `opts.string` - a string or array of strings argument names to always treat as strings

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Specifying the --plugin flag without a value causes an exception
> ----------------------------------------------------------------
>
>                 Key: CB-12210
>                 URL: https://issues.apache.org/jira/browse/CB-12210
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-paramedic
>            Reporter: sterling gerritz
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>
> FYI: when I failed to add a path paramedic threw a 'type error':
>  cordova-paramedic --platform android --plugin
> cordova-paramedic: creating temp project at /var/folders/p4/m50wzcnx3_5grsq_d3z5kq5w0000gn/T/tmp-21300Vfzeii04OHd0
> cordova-paramedic: installing true
> path.js:7
>    throw new TypeError('Path must be a string. Received ' + inspect(path));
>    ^
> TypeError: Path must be a string. Received true
>    at assertPath (path.js:7:11)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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