Skip to content

Commit 9a4a228

Browse files
committed
gen-version: fix notice comment was polluting 'version.d.ts'
1 parent b39b47d commit 9a4a228

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

resources/gen-version.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ if (!versionMatch) {
1212
const [, major, minor, patch, preReleaseTag] = versionMatch;
1313

1414
const body = `
15-
/**
16-
* Note: This file is autogenerated using "resources/gen-version.js" script and
17-
* automatically updated by "npm version" command.
18-
*/
15+
// Note: This file is autogenerated using "resources/gen-version.js" script and
16+
// automatically updated by "npm version" command.
1917
2018
/**
2119
* A string containing the version of the GraphQL.js library

src/version.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
/**
2-
* Note: This file is autogenerated using "resources/gen-version.js" script and
3-
* automatically updated by "npm version" command.
4-
*/
1+
// Note: This file is autogenerated using "resources/gen-version.js" script and
2+
// automatically updated by "npm version" command.
53

64
/**
75
* A string containing the version of the GraphQL.js library

0 commit comments

Comments
 (0)