Skip to content

Commit 4c95b57

Browse files
committed
style: fix lint issues
1 parent 2ed6d85 commit 4c95b57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
* @copyright (C) 2021 Luke Zhang
55
*/
66

7-
import vscode from "vscode"
87
import {escapeExecutablePath} from "./utils"
8+
import vscode from "vscode"
99

1010
const getProcessingCommand = (): string => {
1111
// Look for processing.processingPath, then processing.path, then default to processing-java

src/utils/escapePath.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const escapeExecutablePath = (pathName: string): string => {
99
return pathName
1010
}
1111

12-
let isWindowsPath = /[a-zA-Z]:[\\\/](?:[a-zA-Z0-9]+[\\\/])*([a-zA-Z0-9]+)/gu.test(pathName)
12+
let isWindowsPath = /[a-zA-Z]:[\\/](?:[a-zA-Z0-9]+[\\/])*([a-zA-Z0-9]+)/gu.test(pathName)
1313

1414
if (!/[\\/]/gu.test(pathName)) {
1515
isWindowsPath = process.platform === "win32"

0 commit comments

Comments
 (0)