Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11482] CLI: Argument floating point numbers are being cast as integers

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2012-10-15T04:18:23.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.0, 2012 Sprint 21 JS, 2012 Sprint 21
ComponentsTooling
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2012-10-15T04:14:48.000+0000
Updated2012-12-05T20:16:04.000+0000

Description

Options, arguments, and config options are attempted to be cast as numbers which causes valid values such as "6.0" to be 6 and that breaks version options and such.

Comments

  1. Natalie Huynh 2012-12-05

    Tested with CLI 3.0.19 versions are now displayed as 6.0

JSON Source