Skip to content

Commit c7c7471

Browse files
committed
print true or false depending on whether or not the basepath exists
1 parent 5bb24e7 commit c7c7471

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

generator/cmd/findbasepath.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ executeSynchronous(async () => {
1818

1919
if (autogenEntries.length === 0) {
2020
//not found
21-
throw new Error(`Base path: '${basePath}' not found in autogenlist, this means RP hasn't been onboarded in schema autogeneration process yet.`)
21+
console.log("false");
22+
return;
2223
}
2324

2425
console.log(`Base path: '${basePath} found in autogenlist.`);
26+
console.log("true");
2527
});

0 commit comments

Comments
 (0)