From 63d482ff3a6758aeaaed4f92956ae3a90c480fe2 Mon Sep 17 00:00:00 2001 From: Ryan Cavanaugh Date: Wed, 5 Apr 2017 09:24:35 -0700 Subject: [PATCH] Update tsserverProjectSystem.ts --- src/harness/unittests/tsserverProjectSystem.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/harness/unittests/tsserverProjectSystem.ts b/src/harness/unittests/tsserverProjectSystem.ts index 8ef8e71b37f..5210cf33e4b 100644 --- a/src/harness/unittests/tsserverProjectSystem.ts +++ b/src/harness/unittests/tsserverProjectSystem.ts @@ -22,7 +22,7 @@ namespace ts.projectSystem { content: JSON.stringify({ "jquery": { // jquery files can have names like "jquery-1.10.2.min.js" (or "jquery.intellisense.js") - "match": "/jquery(-(\\.\\d+)+)?(\\.intellisense)?(\\.min)?\\.js$", + "match": "/jquery(-(\\.?\\d+)+)?(\\.intellisense)?(\\.min)?\\.js$", "types": ["jquery"] }, "WinJS": { @@ -3793,4 +3793,4 @@ namespace ts.projectSystem { assert.isUndefined(project.getCompilerOptions().maxNodeModuleJsDepth); }); }); -} \ No newline at end of file +}