Skip to content

Commit

Permalink
fix: compile issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ffMathy committed Sep 30, 2023
1 parent 36822b2 commit 2168ba2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/pulumi/src/executors/refresh/refresh.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import { execSync } from 'child_process'
import { which } from 'shelljs'

export interface RefreshOptions {
stack?: string
stack?: string,
skipPreview?: boolean,
yes?: boolean,
}

export default async function createExecutor(
Expand All @@ -21,7 +23,9 @@ export default async function createExecutor(
buildCommand([
'PULUMI_EXPERIMENTAL=true',
'pulumi refresh',
options.stack && `--stack=${options.stack}`
options.stack && `--stack=${options.stack}`,
options.skipPreview && '--skip-preview',
options.yes && '--yes'
]),
{
cwd: sourceRoot,
Expand Down

0 comments on commit 2168ba2

Please sign in to comment.