File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1+ 7.1.3 (8/1/2024)
2+ -------------------
3+ * fix: Invalid ` --platform ` would cause crash because the platform
4+ validation was being bypassed
15
267.1.2 (7/31/2024)
37-------------------
Original file line number Diff line number Diff line change 11{
22 "name" : " titanium" ,
3- "version" : " 7.1.2 " ,
3+ "version" : " 7.1.3 " ,
44 "author" :
" TiDev, Inc. <[email protected] >" ,
55 "description" : " Command line interface for building Titanium SDK apps" ,
66 "type" : " module" ,
Original file line number Diff line number Diff line change @@ -656,7 +656,7 @@ export class CLI {
656656 . join ( '\n' )
657657 } `
658658 } ) ;
659- } else if ( ! platformOption . skipValueCheck && ! platformOption . values . includes ( this . argv . platform ) ) {
659+ } else if ( ! platformOption . values . includes ( this . argv . platform ) ) {
660660 throw new TiError ( `Invalid platform "${ this . argv . $originalPlatform || this . argv . platform } "` , {
661661 code : 'INVALID_PLATFORM'
662662 } ) ;
@@ -670,7 +670,7 @@ export class CLI {
670670 this . logger . banner ( ) ;
671671
672672 if ( e . code === 'INVALID_PLATFORM' ) {
673- this . logger . error ( e . message ) ;
673+ this . logger . error ( ` ${ e . message } \n` ) ;
674674 }
675675
676676 this . argv . platform = await prompt ( {
You can’t perform that action at this time.
0 commit comments