diff options
author | Daniel Peukert | 2023-08-27 04:21:05 +0200 |
---|---|---|
committer | Daniel Peukert | 2023-08-27 04:21:05 +0200 |
commit | d48568d940e0f7632300c537c6248dca5656588c (patch) | |
tree | 473ddb9e7c93c4a7edd71340ace72057406b6715 /fix-argv.diff | |
parent | 20f1ad30f72d6c44f0080b3260468e08c98f708d (diff) | |
download | aur-d48568d940e0f7632300c537c6248dca5656588c.tar.gz |
Fix mongodb-compass build
Diffstat (limited to 'fix-argv.diff')
-rw-r--r-- | fix-argv.diff | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fix-argv.diff b/fix-argv.diff index b6c1311f6710..fd76f34bfd56 100644 --- a/fix-argv.diff +++ b/fix-argv.diff @@ -1,8 +1,8 @@ diff --git a/packages/compass-preferences-model/src/global-config.ts b/packages/compass-preferences-model/src/global-config.ts -index 2a95d477a..8418c3e34 100644 +index e808198eb..f4443e6cd 100644 --- a/packages/compass-preferences-model/src/global-config.ts +++ b/packages/compass-preferences-model/src/global-config.ts -@@ -210,8 +210,6 @@ export interface ParsedGlobalPreferencesResult { +@@ -196,8 +196,6 @@ export interface ParsedGlobalPreferencesResult { preferenceParseErrors: string[]; } @@ -11,7 +11,7 @@ index 2a95d477a..8418c3e34 100644 export async function parseAndValidateGlobalPreferences( sources: GlobalPreferenceSources = {} ): Promise<ParsedGlobalPreferencesResult> { -@@ -220,6 +218,16 @@ export async function parseAndValidateGlobalPreferences( +@@ -206,6 +204,16 @@ export async function parseAndValidateGlobalPreferences( ); let argv = sources.argv; if (!argv) { @@ -28,7 +28,7 @@ index 2a95d477a..8418c3e34 100644 argv = process.argv.slice(argvStartIndex); } const cliPreferences = parseCliArgs(argv); -@@ -309,11 +317,17 @@ export function getHelpText(): string { +@@ -295,11 +303,17 @@ export function getHelpText(): string { text += ` ${path}\n`; } if (globalConfigPaths.length > 0) { |