From d78ac52635da494c6dfa4b2325644995c1fffe6e Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Wed, 19 May 2021 18:46:18 +0300 Subject: [PATCH] gen-version: fix notice comment was polluting 'version.d.ts' --- resources/gen-version.js | 6 ++---- src/version.js | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/resources/gen-version.js b/resources/gen-version.js index b363ab1ad3..8bea08bcd3 100644 --- a/resources/gen-version.js +++ b/resources/gen-version.js @@ -12,10 +12,8 @@ if (!versionMatch) { const [, major, minor, patch, preReleaseTag] = versionMatch; const body = ` -/** - * Note: This file is autogenerated using "resources/gen-version.js" script and - * automatically updated by "npm version" command. - */ +// Note: This file is autogenerated using "resources/gen-version.js" script and +// automatically updated by "npm version" command. /** * A string containing the version of the GraphQL.js library diff --git a/src/version.js b/src/version.js index fb6c64e821..bf7357c919 100644 --- a/src/version.js +++ b/src/version.js @@ -1,7 +1,5 @@ -/** - * Note: This file is autogenerated using "resources/gen-version.js" script and - * automatically updated by "npm version" command. - */ +// Note: This file is autogenerated using "resources/gen-version.js" script and +// automatically updated by "npm version" command. /** * A string containing the version of the GraphQL.js library