mirror of
https://github.com/Strum355/mcshader-lsp.git
synced 2025-07-23 19:25:51 +00:00
Fixed errors still propogating of the include was removed from the parent. Also supressing 'shaderpacks' path not found
This commit is contained in:
parent
036b6809dc
commit
6fd02abd9d
6 changed files with 52 additions and 26 deletions
|
@ -5,7 +5,8 @@ import { serverLog } from './logging'
|
|||
|
||||
export function postError(e: Error) {
|
||||
connection.window.showErrorMessage(e.message)
|
||||
serverLog.error(e.message, new Error())
|
||||
serverLog.error(e.message, null)
|
||||
console.log(e)
|
||||
}
|
||||
|
||||
export const formatURI = (uri: string) => uri.replace(/^file:\/\//, '').replace(/^(?:\/)c%3A/, 'C:').replace(/\\/g, '/')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue