Skip to content

Commit bd71879

Browse files
authored
Fix argument to infer root in lsif upload command (#248)
1 parent 991b59d commit bd71879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/src/lsif_upload.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Examples:
9595
}
9696

9797
if !isFlagSet(flagSet, "root") {
98-
if root, err := codeintel.InferRoot(*flags.root); err != nil {
98+
if root, err := codeintel.InferRoot(*flags.file); err != nil {
9999
inferErrors = append(inferErrors, inferError{"root", err})
100100
} else {
101101
flags.root = &root

0 commit comments

Comments
 (0)