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

This commit is contained in:
Jackson Kearl
2018-06-11 11:46:06 -07:00
committed by Ramya Rao
parent 71fcad342a
commit 0e97f85c39

View File

@@ -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 users file system and returns absolute path to it.