You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Dmitry Blotsky (JIRA)" <ji...@apache.org> on 2015/01/13 00:07:36 UTC

[jira] [Commented] (CB-8216) Adding plugins by relative path fails when CWD is not the project root

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

Dmitry Blotsky commented on CB-8216:
------------------------------------

Is there a test in cordova-lib to catch this? Why did we catch this regression in mobilespec and not when running {{npm test}} on cordova-lib?

> Adding plugins by relative path fails when CWD is not the project root
> ----------------------------------------------------------------------
>
>                 Key: CB-8216
>                 URL: https://issues.apache.org/jira/browse/CB-8216
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>            Reporter: Andrew Grieve
>            Assignee: Sergey Grebnov
>            Priority: Minor
>
> e.g. cd into the platforms directory, then "cordova plugin add ../../../cordova-plugin-file". It'll try to get it from the registry then fail. The issue is that we chdir() into the project root before the call to add the plugin.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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