Skip to content

Commit cadded6

Browse files
authored
Fixed regression that results in --createstub doing nothing. This addresses #11043. (#11044)
1 parent 538053d commit cadded6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pyright-internal/src/pyright.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ async function runSingleThreaded(
496496
}
497497
}
498498

499-
if (args.createstub && results.requiringAnalysisCount.files === 0) {
499+
if (args.createstub) {
500500
try {
501501
service.writeTypeStub(cancellationNone);
502502
service.dispose();

0 commit comments

Comments
 (0)