From 2184bc85efa520ccbebb1a10134ab9fb547ea39d Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Fri, 5 Jul 2024 15:29:56 +0900 Subject: [PATCH] fmt --- src/version.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/version.js b/src/version.js index 763b560..b39bfe7 100644 --- a/src/version.js +++ b/src/version.js @@ -64,7 +64,9 @@ function getDenoVersionFromFile(versionFilePath) { // node 20.0.0 // ``` // This parses the version of Deno from the file - const denoVersionInToolVersions = contents.match(/^deno\s+v?(?[^\s]+)$/m); + const denoVersionInToolVersions = contents.match( + /^deno\s+v?(?[^\s]+)$/m, + ); return denoVersionInToolVersions?.groups?.version || contents.trim(); }