Skip to content

Commit

Permalink
fix: indented confirm
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed Jun 4, 2024
1 parent b26dafc commit b4b52a7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions etc/docs/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import {
confirm,
customSemverCompare,
getCommandLineArguments,
JsonVersionSchema,
type JsonVersionSchema,
LATEST_TAG,
log,
TomlVersionSchema,
VersionSchema
type TomlVersionSchema,
type VersionSchema
} from './utils';

const exec = promisify(execCb);
Expand Down Expand Up @@ -94,8 +94,7 @@ async function main() {

if (!skipPrompts) {
await confirm(`
Generating docs for the following configuration.
${JSON.stringify(newVersion, null, 2)}
Generating docs for the following configuration.\n${JSON.stringify(newVersion, null, 2)}
Does this look right? [y/n] `);
}

Expand Down

0 comments on commit b4b52a7

Please sign in to comment.