Skip to content

Commit 811d9ed

Browse files
authored
Fix force deploy commands (#1560)
## Changes Before we were using only `--force-lock` command, but right now CLI throws many warnings that require `--force` flag: - If you want to ignore file size limits - If you want to ignore modified dashboards - If you want to ignore this-is-not-the-main-branch warning <!-- Summary of your changes that are easy to understand --> ## Tests Manually plus existing tests
1 parent d9029b3 commit 811d9ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/databricks-vscode/src/cli/CliWrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ export class CliWrapper {
608608
"--target",
609609
target,
610610
"--verbose",
611-
...(force ? ["--force-lock"] : []),
611+
...(force ? ["--force-lock", "--force"] : []),
612612
],
613613
workspaceFolder,
614614
{

0 commit comments

Comments
 (0)