Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24546] CLI: Error thrown if CLI command plugin errors on load

GitHub Issuen/a
TypeBug
PriorityNone
StatusResolved
ResolutionFixed
Resolution Date2017-04-26T18:00:05.000+0000
Affected Version/stitanium 5.0.12
Fix Version/sn/a
ComponentsCLI
Labelsn/a
ReporterEwan Harris
AssigneeEwan Harris
Created2017-03-31T10:07:18.000+0000
Updated2017-04-27T18:07:59.000+0000

Description

Description

If a titanium cli command plugin errors on load, the titanium cli will error as it is trying to access a property of an undefined object

Steps to reproduce

Download this repo https://github.com/ewanharris/TIMOB-24546

Add the command to the ti config -a

Run ti -h

Actual

titanium cli errors

Expected

titanium cli should not error

Comments

  1. Ewan Harris 2017-04-27

    PR: https://github.com/appcelerator/titanium/pull/261

JSON Source