Skip to content

Commit

Permalink
Update packages/create-cloudflare/src/cli.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Skye <46286597+Skye-31@users.noreply.github.com>
  • Loading branch information
dario-piotrowicz and Skye-31 authored Aug 23, 2023
1 parent 0678e57 commit 7238216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-cloudflare/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const printBanner = () => {

const parseArgs = async (argv: string[]): Promise<Partial<C3Args>> => {
const doubleDashesIdx = argv.indexOf('--');
const c3Args = doubleDashesIdx < 0 ? argv : argv.slice(0, doubleDashesIdx < 0 ? undefined : doubleDashesIdx);
const c3Args = argv.slice(0, doubleDashesIdx < 0 ? undefined : doubleDashesIdx);
const additionalArgs = doubleDashesIdx < 0 ? [] : argv.slice(doubleDashesIdx + 1);

const args = await yargs(hideBin(c3Args))
Expand Down

0 comments on commit 7238216

Please sign in to comment.