File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const items = [
1919 output : {
2020 path : './src/app/stores/__name__(lowerCase)' ,
2121 pathAndFileNameDefaultCase : '(kebabCase)' ,
22- overwrite : true ,
22+ overwrite : false ,
2323 } ,
2424 onComplete : async ( results ) => {
2525 // console.log(`results`, results);
@@ -53,6 +53,7 @@ const items = [
5353 output : {
5454 path : './src/stores/__store__(kebabCase)' ,
5555 pathAndFileNameDefaultCase : '(pascalCase)' ,
56+ overwrite : true ,
5657 } ,
5758 onComplete : ( results ) => {
5859 console . log ( `results` , results ) ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ describe('errorIfTrue', () => {
99
1010 test ( 'should throw an error if input is not a boolean' , ( ) => {
1111 expect ( errorIfFalse ( 'true' as any , errorString ) ) . toEqual (
12- new Error ( " errorIfTrue()'s first argument must be a boolean but argument was of type string" )
12+ new Error ( ' errorIfTrue() first argument must be a boolean but argument was of type string' )
1313 ) ;
1414 } ) ;
1515
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export const isBooleanType = (value: any) => {
1414 */
1515export const errorIfFalse = ( isError : boolean , errorMessage : string ) : Error | void => {
1616 if ( ! isBooleanType ( isError ) ) {
17- return errorIfFalse ( false , `errorIfTrue()'s first argument must be a boolean but argument was of type ${ typeof isError } ` ) ;
17+ return errorIfFalse ( false , `errorIfTrue() first argument must be a boolean but argument was of type ${ typeof isError } ` ) ;
1818 }
1919
2020 if ( ! isError ) {
You can’t perform that action at this time.
0 commit comments