We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8db034f commit 65cfc4aCopy full SHA for 65cfc4a
src/commands/captureDiagnostics.ts
@@ -43,9 +43,10 @@ export async function captureDiagnostics(
43
await fs.mkdir(diagnosticsDir);
44
await writeLogFile(diagnosticsDir, "extension-logs.txt", extensionLogs(ctx));
45
await writeLogFile(diagnosticsDir, "settings.txt", settingsLogs(ctx));
46
- await writeLogFile(diagnosticsDir, "source-code-diagnostics.txt", diagnosticLogs());
47
48
if (captureMode === "Full") {
+ await writeLogFile(diagnosticsDir, "source-code-diagnostics.txt", diagnosticLogs());
49
+
50
// The `sourcekit-lsp diagnose` command is only available in 6.0 and higher.
51
if (ctx.swiftVersion.isGreaterThanOrEqual(new Version(6, 0, 0))) {
52
await sourcekitDiagnose(ctx, diagnosticsDir);
0 commit comments