Skip to content

Commit

Permalink
Update up.impl.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ffMathy authored Dec 7, 2023
1 parent c7b5652 commit 967206e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/pulumi/src/executors/up/up.impl.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { buildCommand, USE_VERBOSE_LOGGING_MINIMAL } from '@nx-extend/core'
import { ExecutorContext } from '@nx/devkit'
import { ExecutorContext, workspaceRoot } from '@nx/devkit'
import { execSync } from 'child_process'
import { which } from 'shelljs'

Expand All @@ -9,7 +9,7 @@ export interface UpOptions {
yes?: boolean
suppressOutputs?: boolean
json?: boolean
cwd?: string
root?: string
}

export default async function createExecutor(
Expand All @@ -33,7 +33,7 @@ export default async function createExecutor(
options.json && '--json'
]),
{
cwd: options.cwd ?? sourceRoot,
cwd: join(workspaceRoot, options.root ?? sourceRoot),
stdio: 'inherit'
}
)
Expand Down

0 comments on commit 967206e

Please sign in to comment.