diff --git a/src/panels/draft/DraftDeploymentPanel.ts b/src/panels/draft/DraftDeploymentPanel.ts index df79e79b..6f4de6ac 100644 --- a/src/panels/draft/DraftDeploymentPanel.ts +++ b/src/panels/draft/DraftDeploymentPanel.ts @@ -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,