File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ function getPath( path ) {
8484* Main execution sequence.
8585*
8686* @private
87+ * @returns {void }
8788*/
8889function main ( ) {
8990 var subargs ;
@@ -111,13 +112,13 @@ function main() {
111112 if ( args . length === 1 ) {
112113 return cli . help ( ) ;
113114 }
114- cmd = findCommand ( args [ 1 ] ) ; ;
115+ cmd = findCommand ( args [ 1 ] ) ;
115116 if ( cmd === null ) {
116117 return onError ( new Error ( 'invalid argument. Unrecognized/unsupported command. Value: `' + args [ 1 ] + '`.' ) ) ;
117118 }
118119 subargs = [ getPath ( cmd . path ) , '--help' ] ;
119120 } else {
120- cmd = findCommand ( args [ 0 ] ) ; ;
121+ cmd = findCommand ( args [ 0 ] ) ;
121122 if ( cmd === null ) {
122123 return onError ( new Error ( 'invalid argument. Unrecognized/unsupported command. Value: `' + args [ 0 ] + '`.' ) ) ;
123124 }
You can’t perform that action at this time.
0 commit comments