Skip to content

Commit 15cc7c7

Browse files
committed
Fix filetype key typescript.tsx.
1 parent 255d02a commit 15cc7c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub fn get_rootPath<'a>(
4444
match languageId {
4545
"rust" => traverse_up(path, |dir| dir.join("Cargo.toml").exists()),
4646
"php" => traverse_up(path, |dir| dir.join("composer.json").exists()),
47-
"javascript" | "typescript" | "javascript.jsx" | "typescript.jsx" => {
47+
"javascript" | "typescript" | "javascript.jsx" | "typescript.tsx" => {
4848
traverse_up(path, |dir| dir.join("package.json").exists())
4949
}
5050
"python" => traverse_up(path, |dir| {

0 commit comments

Comments
 (0)