Finally works on windows. Going to validate it isnt broken on linux now

This commit is contained in:
Noah Santschi-Cooney 2018-07-24 22:49:08 +01:00
parent b5c47e827a
commit bd546ab67f
4 changed files with 19 additions and 17 deletions

View file

@ -3,4 +3,6 @@ import { connection } from './server'
export function postError(e: Error) {
connection.window.showErrorMessage(e.message)
console.log(e)
}
}
export const formatURI = (uri: string) => uri.replace(/^file:\/\//, '').replace(/^(?:\/)c%3A/, 'C:').replace(/\\/g, '/')