File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { version } from "../package.json"
1414
1515async function run ( argv : Array < string > ) : Promise < void > {
1616 try {
17- if ( rover_helpers . npmrootTest ( ) ) {
17+ if ( ! rover_helpers . npmrootTest ( ) ) {
1818 throw new Error ( cliConfig . globalError )
1919 }
2020 const commandErrors = cliConfig . commandError ( argv )
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export async function addComponentCLI() {
9090 console . log ( JSON . stringify ( template ) )
9191 await rover_addComponent . addComponents ( template )
9292}
93- export async function addModuleCLI ( ) {
93+ export async function addModuleCLI ( ) : Promise < void > {
9494 const res = await roverADD ( )
9595 let template : IroveraddModule = < IroveraddModule > { }
9696 const app_name = res [ "appname" ]
Original file line number Diff line number Diff line change @@ -80,13 +80,11 @@ export const inputString = async function (
8080 else message = `${ messages } should have only alphanumeric values`
8181 }
8282 }
83-
8483 if ( message !== "" ) return message
8584 else return true
8685 } ,
8786 } ,
8887 ] )
89-
9088 return { ...takeInput }
9189}
9290
You can’t perform that action at this time.
0 commit comments