paths - drop pathToRelative workaround

This commit is contained in:
Benjamin Pasero
2019-02-18 10:19:39 +01:00
parent 8755bcf0d3
commit 67494c9dcb
3 changed files with 10 additions and 16 deletions

View File

@@ -4,7 +4,6 @@
*--------------------------------------------------------------------------------------------*/
import * as crypto from 'crypto';
import { relative } from 'vs/base/common/path';
import { coalesce, equals } from 'vs/base/common/arrays';
import { illegalArgument } from 'vs/base/common/errors';
import { IRelativePattern } from 'vs/base/common/glob';
@@ -2029,10 +2028,6 @@ export class RelativePattern implements IRelativePattern {
this.pattern = pattern;
}
public pathToRelative(from: string, to: string): string {
return relative(from, to);
}
}
@es5ClassCompat