From 44cb59273d3ea58679b571766fa88faa40d571c2 Mon Sep 17 00:00:00 2001 From: Vladimir Razuvaev Date: Fri, 21 Feb 2020 00:33:56 +0700 Subject: [PATCH] chore(gatsby): Fix minor bug with ts check output for Windows (#21617) * chore(gatsby): Fix minor bug with ts check output for Windows * ESLint fix --- scripts/check-ts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-ts.js b/scripts/check-ts.js index 071ec372ed13d..b2aa7a704d9dc 100644 --- a/scripts/check-ts.js +++ b/scripts/check-ts.js @@ -52,7 +52,7 @@ if (filterPackage) { packagesWithTs.forEach(project => { console.log( - `TS Check: Checking ./packages/${project.split(/.*packages\//)[1]}` + `TS Check: Checking ./packages/${project.split(/.*packages[/\\]/)[1]}` ) const args = [