Skip to content

Commit b7b71c5

Browse files
committed
chore: wip
1 parent 722753a commit b7b71c5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.stacks/core/cli/src/helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { bgCyan, bold, cyan, dim, green, italic, red } from './utilities'
1010
export async function intro(command: string, options?: IntroOptions) {
1111
const version = await frameworkVersion()
1212

13-
if (!options?.quiet) {
13+
if (options?.quiet === false) {
1414
console.log()
1515
console.log(cyan(bold('Stacks CLI')) + dim(` v${version}`))
1616
console.log()
@@ -47,7 +47,7 @@ export function outro(text: string, options: OutroOptions, error?: Error | strin
4747
time = Math.round(time * 100) / 100 // https://stackoverflow.com/a/11832950/7811162
4848
}
4949

50-
if (options.quiet)
50+
if (options.quiet === false)
5151
return
5252

5353
if (options.isError)

.stacks/core/types/src/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface OutroOptions extends CliOptions {
1414
startTime?: number
1515
useSeconds?: boolean
1616
isError?: boolean
17-
quiet: boolean
17+
quiet?: boolean
1818
}
1919

2020
export interface IntroOptions {
@@ -55,7 +55,7 @@ export interface CliOptions {
5555
*
5656
* @default false
5757
*/
58-
quiet: boolean
58+
quiet?: boolean
5959

6060
/**
6161
* **Verbose Output**

0 commit comments

Comments
 (0)