mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Replace fil:/// instead of file://
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
9f72b628be
commit
3b3d86c9d5
@ -43,7 +43,9 @@ const joinWithInitCwd = (relativePath: string): string => {
|
||||
};
|
||||
|
||||
const resolve = async (input: string) => {
|
||||
return (await import.meta.resolve?.(input))?.replace("file://", "");
|
||||
const filePath = await import.meta.resolve?.(input);
|
||||
|
||||
return filePath?.replace("file:///", "");
|
||||
}
|
||||
|
||||
const size = options["--output-size"] ?? 16;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user