Skip to content

Commit ece050c

Browse files
committed
Fix imports, remove @types
1 parent 587e9f6 commit ece050c

File tree

4 files changed

+2
-16
lines changed

4 files changed

+2
-16
lines changed

package-lock.json

Lines changed: 0 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
"@types/buffer-crc32": "^0.2.4",
6464
"@types/chai": "4.3.9",
6565
"@types/chai-as-promised": "^7.1.8",
66-
"@types/minimatch": "^5.1.2",
6766
"@types/mocha": "^10.0.10",
6867
"@types/node": "^16.11.27",
6968
"@types/relateurl": "^0.2.33",

src/paths.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fileUrl from 'file-url'
22
import * as url from 'url'
33
import * as Path from 'path'
4-
import minimatch from 'minimatch'
4+
import { minimatch } from 'minimatch'
55

66
/** converts a server-side Xdebug file URI to a local path for VS Code with respect to source root settings */
77
export function convertDebuggerPathToClient(fileUri: string, pathMapping?: { [index: string]: string }): string {

src/phpDebug.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import * as util from 'util'
1010
import * as fs from 'fs'
1111
import { Terminal } from './terminal'
1212
import { convertClientPathToDebugger, convertDebuggerPathToClient, isPositiveMatchInGlobs } from './paths'
13-
import minimatch from 'minimatch'
13+
import { minimatch } from 'minimatch'
1414
import { BreakpointManager, BreakpointAdapter } from './breakpoints'
1515
import * as semver from 'semver'
1616
import { LogPointManager } from './logpoint'

0 commit comments

Comments
 (0)