Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
6.3.1
-
None
-
Windows
plugman --version
1.2.1
cordova --version
6.3.1
Description
Steps to reproduce:
- Create simple plugin
$ plugman create --name SimplePlugin --plugin_id org.simple.plugin --plugin_version 1.0.0
- Create cordova project it includes the name of plugin
$ cordova create SimplePlugin_TestBed
- Install the plugin into the created project
$ cordova plugin add ../SimplePlugin
-> Check the plugins/org.simple.plugin folder
Find www/ folder is missing.
The reason is filenames.indexOf(relativeRootFolder) returns -1 when the target folder name cannot find in the plugin folder.
The original code works good when the project is on the child folder.
[plugin]/[project of plugin_testbed]
But does not the project as sibling.
[plugin]
[project of plugin_testbed]
Attachments
Issue Links
- links to