Skip to content

Commit

Permalink
Update preview.impl.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ffMathy authored Dec 7, 2023
1 parent a7ff4ef commit c9ae743
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/pulumi/src/executors/preview/preview.impl.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ExecutorContext } from '@nx/devkit'
import { ExecutorContext, workspaceRoot } from '@nx/devkit'
import { buildCommand } from '@nx-extend/core'
import { execSync } from 'child_process'
import { which } from 'shelljs'
Expand All @@ -25,7 +25,7 @@ export default async function creatExecutor(
options.stack && `--stack=${options.stack}`
]),
{
cwd: options.cwd ?? sourceRoot,
cwd: join(workspaceRoot, options.root ?? sourceRoot),
stdio: 'inherit'
}
)
Expand Down

0 comments on commit c9ae743

Please sign in to comment.