Skip to content

Commit

Permalink
Adding flag to prevent draft from checking for manifests (Azure#829)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReinierCC authored Aug 6, 2024
1 parent ca38d05 commit 7cbd81e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/panels/draft/DraftDeploymentPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export class DraftDeploymentDataProvider implements PanelDataProvider<"draftDepl
.join(" ");

const language = "java"; // So it doesn't attempt to autodetect the language
const command = `draft create --language ${language} --deployment-only --deploy-type ${args.deploymentSpecType} --app ${args.applicationName} ${variableArgs} --destination .${path.sep}${args.location}`;
const command = `draft create --language ${language} --deployment-only --deploy-type ${args.deploymentSpecType} --app ${args.applicationName} ${variableArgs} --destination .${path.sep}${args.location} --skip-file-detection`;

const execOptions: ShellOptions = {
workingDir: this.workspaceFolder.uri.fsPath,
Expand Down

0 comments on commit 7cbd81e

Please sign in to comment.