Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gen-version: fix notice comment was polluting 'version.d.ts' #3112

Merged
merged 1 commit into from May 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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