cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matrosov-nikita <...@git.apache.org>
Subject [GitHub] cordova-android issue #362: CB-12453: Remove unnecessary double quotes from ...
Date Tue, 11 Jul 2017 11:04:10 GMT
Github user matrosov-nikita commented on the issue:

    https://github.com/apache/cordova-android/pull/362
  
    This bug affects user only if project path includes spaces.
    
    Repro steps:
    1) Create project in folder with space in name (i.e `C:\my projects\sample`)
    2) Run `cordova run android --list`
    
    
    On [this line](https://github.com/apache/cordova-android/blob/master/bin/templates/cordova/lib/list-devices.bat#L21)
`%script_path%` already enclosed with double quotes. When we make additional enclosing, double
quotes in the start and end of the script path are collapsed (""C:\my projects\sample\platforms\android\cordova\lib\list-devices"")
and it leads to error like this: `Error: Cannot find module 'C:\my'`.
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message