Ver Fonte

Merge pull request #11050 from meeseeksmachine/auto-backport-of-pr-11048-on-3.1.x

Backport PR #11048 on branch 3.1.x (use path.posix explicitly for URLs)
Jeremy Tuloup há 3 anos atrás
pai
commit
13b598abb3
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      packages/coreutils/src/url.ts

+ 1 - 1
packages/coreutils/src/url.ts

@@ -2,7 +2,7 @@
 // Distributed under the terms of the Modified BSD License.
 
 import { PartialJSONObject } from '@lumino/coreutils';
-import * as posix from 'path';
+import { posix } from 'path';
 import urlparse from 'url-parse';
 
 /**