mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
Make Emmet: "update image size" consistant with "follow link" (#51630)
This commit is contained in:
@@ -10,7 +10,9 @@
|
||||
import * as path from 'path';
|
||||
import * as fs from 'fs';
|
||||
|
||||
const reAbsolute = /^\/+/;
|
||||
const reAbsolutePosix = /^\/+/;
|
||||
const reAbsoluteWin32 = /^\\+/;
|
||||
const reAbsolute = path.sep === '/' ? reAbsolutePosix : reAbsoluteWin32;
|
||||
|
||||
/**
|
||||
* Locates given `filePath` on user’s file system and returns absolute path to it.
|
||||
|
||||
Reference in New Issue
Block a user