From 1de8af5de18313b4702aa16a3d89733f597ca52a Mon Sep 17 00:00:00 2001 From: Brad Cornes Date: Tue, 16 Jun 2020 16:49:08 +0100 Subject: [PATCH] update error message wording --- src/lsp/providers/diagnosticsProvider.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lsp/providers/diagnosticsProvider.ts b/src/lsp/providers/diagnosticsProvider.ts index 5945837..85de8b5 100644 --- a/src/lsp/providers/diagnosticsProvider.ts +++ b/src/lsp/providers/diagnosticsProvider.ts @@ -360,7 +360,10 @@ function getInvalidConfigPathDiagnostics( isValid(value[key]) ) if (firstValidKey) { - message += ` Did you mean '${stitch([...keys, firstValidKey])}'?` + message += ` Did you mean something like '${stitch([ + ...keys, + firstValidKey, + ])}'?` } } }