Remove log
This commit is contained in:
1 parent
7f30a8bea7
commit
b32f91b0ee
1 file changed
-1
@@ -85,6 +85,5 @@ const extensionToLanguage: { [key: string]: string } = {
|
||||
|
||||
export function getLanguageFromPath(path: string): string | undefined {
|
||||
const extension = path.split(".").pop()?.toLowerCase() || ""
|
||||
console.log(`converted path to language: ${path} -> ${extensionToLanguage[extension]}`)
|
||||
return extensionToLanguage[extension]
|
||||
}
|
||||
Reference in new issue
Block a user