summarylogtreecommitdiffstats
path: root/fix-argv.diff
diff options
context:
space:
mode:
authorDaniel Peukert2023-09-30 11:26:49 +0200
committerDaniel Peukert2023-09-30 11:26:49 +0200
commit3453bf0420adc97803dcac2fa83b50c122064e00 (patch)
treed953f07670108c079e9786fd72a5a679087e0989 /fix-argv.diff
parentfb2ef331cb356d277540a8e779e2a4f0d1a0ce54 (diff)
downloadaur-3453bf0420adc97803dcac2fa83b50c122064e00.tar.gz
Update mongodb-compass to 1.40.2, mongodb-compass-beta to 1.40.2-beta.0
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 fd76f34bfd56..6ad0b2501f68 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 e808198eb..f4443e6cd 100644
+index 30d287c2f..a8477996d 100644
--- a/packages/compass-preferences-model/src/global-config.ts
+++ b/packages/compass-preferences-model/src/global-config.ts
-@@ -196,8 +196,6 @@ export interface ParsedGlobalPreferencesResult {
+@@ -195,8 +195,6 @@ export interface ParsedGlobalPreferencesResult {
preferenceParseErrors: string[];
}
@@ -11,7 +11,7 @@ index e808198eb..f4443e6cd 100644
export async function parseAndValidateGlobalPreferences(
sources: GlobalPreferenceSources = {}
): Promise<ParsedGlobalPreferencesResult> {
-@@ -206,6 +204,16 @@ export async function parseAndValidateGlobalPreferences(
+@@ -205,6 +203,16 @@ export async function parseAndValidateGlobalPreferences(
);
let argv = sources.argv;
if (!argv) {
@@ -28,7 +28,7 @@ index e808198eb..f4443e6cd 100644
argv = process.argv.slice(argvStartIndex);
}
const cliPreferences = parseCliArgs(argv);
-@@ -295,11 +303,17 @@ export function getHelpText(): string {
+@@ -294,11 +302,17 @@ export function getHelpText(): string {
text += ` ${path}\n`;
}
if (globalConfigPaths.length > 0) {