summarylogtreecommitdiffstats
path: root/fix-argv.diff
diff options
context:
space:
mode:
authorDaniel Peukert2023-08-27 04:20:59 +0200
committerDaniel Peukert2023-08-27 04:20:59 +0200
commit7448bb07be0164668be8ba9c6d0ff87c0665600f (patch)
tree43a6e1b3461bba1a4e5cf9cee162fcb8770a206f /fix-argv.diff
parent1132148d8c8a8b4b95beff80d97ec97d21a6d12b (diff)
downloadaur-7448bb07be0164668be8ba9c6d0ff87c0665600f.tar.gz
Fix mongodb-compass build
Diffstat (limited to 'fix-argv.diff')
-rw-r--r--fix-argv.diff8
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) {