Skip to content

Commit b3679bc

Browse files
committed
chore: wip
1 parent e0ea909 commit b3679bc

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.stacks/core/actions/src/fresh.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import process from 'node:process'
12
import { ExitCode } from '@stacksjs/types'
23
import { log, runCommands } from '@stacksjs/cli'
34
import { frameworkPath } from '@stacksjs/path'

.stacks/core/actions/src/helpers/lib-entries.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import process from 'node:process'
12
import { log } from '@stacksjs/logging'
23
import { kebabCase } from '@stacksjs/strings'
34
import { type LibraryType } from '@stacksjs/path'

.stacks/core/cli/src/exec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export async function exec(command: string | string[], options?: CliOptions): Pr
3535
onExit(subprocess, exitCode, signalCode, error) {
3636
if (exitCode !== ExitCode.Success && exitCode) {
3737
log.error(error)
38-
reject(new Error(`Failed to execute command: ${cmd.join(' ')}`))
38+
return reject(handleError(`Failed to execute command: ${cmd.join(' ')}`))
3939
}
4040
},
4141
})

0 commit comments

Comments
 (0)