From 433afbc6bf6eb36c5915e374a3538555de2432d9 Mon Sep 17 00:00:00 2001 From: RedCMD Date: Sat, 1 Jun 2024 00:32:09 +1200 Subject: [PATCH] Fix `firstLine` match --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 38f8207..aad3348 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ ".Krmfile", ".ksy" ], - "firstLine": "^#cloud-config|^(%YAML([ \t]+[0-9]+\\.[0-9]+|:1\\.1)|+)([ \t]+#|[ \t]*$)|^---$", + "firstLine": "^#cloud-config|^(%YAML([ \t]+[0-9]+\\.[0-9]+|:1\\.1))([ \t]+#|[ \t]*$)|^---$", "configuration": "./language-configuration.json" }, {