Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14958] CLI: node-appc visitDirsSync() passes incorrect file and directory to visitor function

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-08-27T17:03:57.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 18 Core, 2013 Sprint 18, Release 3.2.0
ComponentsCLI
Labelsqe-closed-3.2.0
ReporterChris Barber
AssigneeChris Barber
Created2013-08-27T05:27:07.000+0000
Updated2013-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.

Comments

  1. Chris Barber 2013-08-27

    Pull request: https://github.com/appcelerator/node-appc/pull/53 To test, from the node-appc directory run:
       ./forge test fs
       
    You can also run "ti info -t android" and verify the "path" for Add-ons is valid and not null/undefined.
  2. Olga Romero 2013-11-27

    Tested CLI 3.2.0-alpha3, using command
       ti info -t android
       
    And verified "path" for Add-ons are not null/undefined

JSON Source