Skip to content

Commit

Permalink
remove windows-argv-parser package and related code (#1156)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftkey committed Nov 11, 2024
1 parent ef89d3b commit 1ef5333
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
"untildify": "^3.0.2",
"username": "^5.1.0",
"uuid": "^3.0.1",
"windows-argv-parser": "file:../vendor/windows-argv-parser",
"winston": "^3.6.0"
},
"devDependencies": {
Expand Down
3 changes: 1 addition & 2 deletions app/src/lib/custom-integration.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { ChildProcess, SpawnOptions, spawn } from 'child_process'
import { parseCommandLineArgv } from 'windows-argv-parser'
import stringArgv from 'string-argv'
import { promisify } from 'util'
import { exec } from 'child_process'
Expand Down Expand Up @@ -29,7 +28,7 @@ export interface ICustomIntegration {
export function parseCustomIntegrationArguments(
args: string
): ReadonlyArray<string> {
return __WIN32__ ? parseCommandLineArgv(args) : stringArgv(args)
return stringArgv(args)
}

// Function to retrieve, on macOS, the bundleId of an app given its path
Expand Down
3 changes: 0 additions & 3 deletions app/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1530,9 +1530,6 @@ wide-align@^1.1.0:
dependencies:
string-width "^1.0.2 || 2"

"windows-argv-parser@file:../vendor/windows-argv-parser":
version "0.0.1"

winston-transport@^4.5.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/winston-transport/-/winston-transport-4.5.0.tgz#6e7b0dd04d393171ed5e4e4905db265f7ab384fa"
Expand Down

0 comments on commit 1ef5333

Please sign in to comment.