[TIMOB-14958] CLI: node-appc visitDirsSync() passes incorrect file and directory to visitor function
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-08-27T17:03:57.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | 2013 Sprint 18 Core, 2013 Sprint 18, Release 3.2.0 |
| Components | CLI |
| Labels | qe-closed-3.2.0 |
| Reporter | Chris Barber |
| Assignee | Chris Barber |
| Created | 2013-08-27T05:27:07.000+0000 |
| Updated | 2013-11-27T00:49:50.000+0000 |
Description
The visitDirsSync() function does not work properly and passes the wrong filename and path to the function that visits each file/directory.
This can be reproduced by running the "ti info" command and notice the Android Add-ons "path" are not correct.
Pull request: https://github.com/appcelerator/node-appc/pull/53 To test, from the node-appc directory run:
You can also run "ti info -t android" and verify the "path" for Add-ons is valid and not null/undefined.Tested CLI 3.2.0-alpha3, using command
And verified "path" for Add-ons are not null/undefined