Skip to content

Commit

Permalink
gen-version: fix notice comment was polluting 'version.d.ts'
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed May 19, 2021
1 parent b39b47d commit 9a4a228
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions resources/gen-version.js
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions 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
Expand Down

0 comments on commit 9a4a228

Please sign in to comment.