提交 0e97f85c 编写于 作者: J Jackson Kearl 提交者: Ramya Rao

Make Emmet: "update image size" consistant with "follow link" (#51630)

上级 71fcad34
...@@ -10,7 +10,9 @@ ...@@ -10,7 +10,9 @@
import * as path from 'path'; import * as path from 'path';
import * as fs from 'fs'; 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. * Locates given `filePath` on user’s file system and returns absolute path to it.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册