Skip to content

Commit 8479552

Browse files
committed
Fix auto-detect filetype
1 parent fc7bbfa commit 8479552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ async function grepdef(args) {
9999
await searchAndReport(
100100
searchSymbol,
101101
{
102-
type: normalizeType(langType),
102+
type: langType ? normalizeType(langType) : null,
103103
verbose: !!options.verbose,
104104
searchTool,
105105
path,

0 commit comments

Comments
 (0)