Skip to content

Commit ca299d8

Browse files
committed
Removed the need to specify files or a project for the command-line tool. Now "pyright" with no parameters will look for a config file in the working directory.
1 parent 9d8d698 commit ca299d8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

server/src/pyright.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,6 @@ function processArgs() {
7777
let watch = args.watch !== undefined;
7878
options.watch = watch;
7979

80-
if ((options.fileSpecs === undefined || options.fileSpecs.length === 0) && !args.project) {
81-
printUsage();
82-
return;
83-
}
84-
8580
let service = new AnalyzerService();
8681

8782
service.setCompletionCallback(results => {

0 commit comments

Comments
 (0)