Skip to content

Commit

Permalink
fix: edit to use new prompt value
Browse files Browse the repository at this point in the history
  • Loading branch information
daretodave committed May 10, 2024
1 parent 533c5be commit 235575d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/framework/system-commands/edit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { pathExists, stat } from 'fs-extra'
import { ExecuteContext } from '../execute-context'

async function edit(context: ExecuteContext): Promise<void> {
const [, ...args] = context.prompt.split(' ')
const [, ...args] = context.prompt.value.split(' ')
const path: string = context.runtime.resolve(args[0] || '.')

const isLocationActive = await pathExists(path)
Expand Down

0 comments on commit 235575d

Please sign in to comment.