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 b12c1c4 commit ad60713Copy full SHA for ad60713
packages/pyright-internal/src/pyright.ts
@@ -56,6 +56,7 @@ import {
56
getBooleanDiagnosticRules,
57
getDiagLevelDiagnosticRules,
58
} from './common/configOptions';
59
+import { writeFileSync } from 'fs';
60
61
type SeverityLevel = 'error' | 'warning' | 'information';
62
@@ -518,7 +519,7 @@ const outputResults = (
518
519
report = reportDiagnosticsAsText(filteredDiagnostics, minSeverityLevel);
520
}
521
if (args.gitlabcodequality) {
- fs.writeFileSync(
522
+ writeFileSync(
523
args.gitlabcodequality,
524
JSON.stringify(
525
createGitlabCodeQualityReport(
0 commit comments