Skip to content

Commit 6d029ef

Browse files
committed
add an extra jsdoc
1 parent b2df5a8 commit 6d029ef

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/cloudflare/src/cli/commands/setup-cli.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ export async function setupCLI({ command, shouldCompileConfig, args }: Options)
6060
return { options, config, wranglerConfig, baseDir };
6161
}
6262

63+
/**
64+
* Compiles an OpenNext config, or reads the pre-compiled config.
65+
*
66+
* @param opts whether the config should be compiled, and the base directory.
67+
* @returns OpenNext config.
68+
*/
6369
async function getOpenNextConfig(opts: {
6470
shouldCompileConfig?: boolean;
6571
baseDir: string;
@@ -84,7 +90,7 @@ async function getOpenNextConfig(opts: {
8490
}
8591

8692
/**
87-
* Add flags for the wrangler config path and environment to the yargs configuration.
93+
* Adds flags for the wrangler config path and environment to the yargs configuration.
8894
*/
8995
export function withWranglerOptions<T extends yargs.Argv>(args: T) {
9096
return args

0 commit comments

Comments
 (0)