Skip to content

Commit 2f1ed3f

Browse files
committed
remove windows-argv-parser package and related code (#1156)
1 parent 9a55923 commit 2f1ed3f

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

app/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
"untildify": "^3.0.2",
6767
"username": "^5.1.0",
6868
"uuid": "^3.0.1",
69-
"windows-argv-parser": "file:../vendor/windows-argv-parser",
7069
"winston": "^3.6.0"
7170
},
7271
"devDependencies": {

app/src/lib/custom-integration.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { parseCommandLineArgv } from 'windows-argv-parser'
21
import stringArgv from 'string-argv'
32
import { promisify } from 'util'
43
import { exec } from 'child_process'
@@ -28,7 +27,7 @@ export interface ICustomIntegration {
2827
export function parseCustomIntegrationArguments(
2928
args: string
3029
): ReadonlyArray<string> {
31-
return __WIN32__ ? parseCommandLineArgv(args) : stringArgv(args)
30+
return stringArgv(args)
3231
}
3332

3433
// Function to retrieve, on macOS, the bundleId of an app given its path

app/yarn.lock

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,9 +1530,6 @@ wide-align@^1.1.0:
15301530
dependencies:
15311531
string-width "^1.0.2 || 2"
15321532

1533-
"windows-argv-parser@file:../vendor/windows-argv-parser":
1534-
version "0.0.1"
1535-
15361533
winston-transport@^4.5.0:
15371534
version "4.5.0"
15381535
resolved "https://registry.yarnpkg.com/winston-transport/-/winston-transport-4.5.0.tgz#6e7b0dd04d393171ed5e4e4905db265f7ab384fa"

0 commit comments

Comments
 (0)