Skip to content

Commit da3e0db

Browse files
committed
Fix create-app CLI lint failures in CI
1 parent c426d7d commit da3e0db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/create-react-on-rails-app/src/create-app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ export function validateAppName(name: string): { success: boolean; error?: strin
226226
export function createApp(appName: string, options: CliOptions): void {
227227
const appPath = path.resolve(process.cwd(), appName);
228228
const proRequested = options.pro || options.rsc;
229-
let proModeLabel: string | null = null;
229+
let proModeLabel: '--rsc' | '--pro' | null = null;
230230
if (options.rsc) {
231231
proModeLabel = '--rsc';
232232
} else if (options.pro) {

0 commit comments

Comments
 (0)