-
Notifications
You must be signed in to change notification settings - Fork 148
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
build: make update-license script work on Windows #851
Conversation
4a949ab
to
d16ab18
Compare
Codecov Report
@@ Coverage Diff @@
## master #851 +/- ##
======================================
Coverage 87.4% 87.4%
======================================
Files 27 27
Lines 16542 16542
Branches 1151 1151
======================================
Hits 14458 14458
Misses 2078 2078
Partials 6 6 Continue to review full report at Codecov.
|
dev/protos/firestore_v1_proto_api.js
Outdated
@@ -7428,4 +7428,4 @@ $root.google = (function() { | |||
})(); | |||
|
|||
return google; | |||
})(); | |||
})(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have new lines back? (here and everywhere)
scripts/license.js
Outdated
|
||
for (const file of process.argv.slice(2)) { | ||
const content = fs.readFileSync(file); | ||
fs.writeFileSync(file, `${LICENSE_HEADER}\n${content}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe just add \n
here
Line breaks added. |
…s-firestore into mrschmidt/installscript
This PR changes the update-license script to be a Node JS script instead of bash.
The intent is to make the script work on Windows so it can be used as part of a larger PR that will export the generated types for the GAPIC client (#849)
This PR also contains the output from running the script.