Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cordova plugin add with folder with trailing backward slash crashes on Windows #453

Open
janpio opened this issue Jul 17, 2019 · 1 comment

Comments

@janpio
Copy link
Member

janpio commented Jul 17, 2019

On Windows, this fails:

λ cordova plugin add "..\..\Cordova\cordova-plugin-device\" --verbose
Invalid attribute predicate

but this works:

E:\Projects\throwaway\cordovaIonicRestorePluginBug (master -> origin) ([email protected])
λ cordova plugin add "../..\Cordova\cordova-plugin-device/" --verbose
No scripts found for hook "before_plugin_add".
Calling plugman.fetch on plugin "../..\Cordova\cordova-plugin-device/"
...

Seems the trailing backward slash is crashing something.

Info

λ cordova -v
9.0.0 ([email protected])
@janpio janpio changed the title cordova plugin add with folder with trailing slash backward Slash crashes on Windows cordova plugin add with folder with trailing backward slash crashes on Windows Jul 17, 2019
@janpio
Copy link
Member Author

janpio commented Jul 17, 2019

Only happens if the path is wrapped in double quotes additionally to the trailing backward slash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant