mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-06 04:22:01 +00:00
chore: fix some typos in comments (#11459)
Signed-off-by: careworry <worrycare@outlook.com> Co-authored-by: Sean Massa <EndangeredMassa@gmail.com>
This commit is contained in:
4
.changeset/strong-drinks-lay.md
Normal file
4
.changeset/strong-drinks-lay.md
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
---
|
||||||
|
|
||||||
|
chore: fix some typos in comments
|
||||||
@@ -13,7 +13,7 @@ function initSentry() {
|
|||||||
sentryInitDone = true;
|
sentryInitDone = true;
|
||||||
|
|
||||||
init({
|
init({
|
||||||
// Cannot figure out whats going wrong here. VSCode resolves this fine. But when we build it blows up.
|
// Cannot figure out what's going wrong here. VSCode resolves this fine. But when we build it blows up.
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
dsn: assertEnv('SENTRY_DSN'),
|
dsn: assertEnv('SENTRY_DSN'),
|
||||||
environment: process.env.NODE_ENV || 'production',
|
environment: process.env.NODE_ENV || 'production',
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ export const build: BuildV3 = async ({
|
|||||||
if (meta.avoidTopLevelInstall && fileAtRoot) {
|
if (meta.avoidTopLevelInstall && fileAtRoot) {
|
||||||
debug('Skipping `bundle install` — already handled by Install Command');
|
debug('Skipping `bundle install` — already handled by Install Command');
|
||||||
} else {
|
} else {
|
||||||
// try installing. this won't work if native extesions are required.
|
// try installing. this won't work if native extensions are required.
|
||||||
// if that's the case, gems should be vendored locally before deploying.
|
// if that's the case, gems should be vendored locally before deploying.
|
||||||
await bundleInstall(
|
await bundleInstall(
|
||||||
bundlerPath,
|
bundlerPath,
|
||||||
@@ -221,7 +221,7 @@ export const build: BuildV3 = async ({
|
|||||||
);
|
);
|
||||||
|
|
||||||
// in order to allow the user to have `server.rb`, we need our `server.rb` to be called
|
// in order to allow the user to have `server.rb`, we need our `server.rb` to be called
|
||||||
// somethig else
|
// something else
|
||||||
const handlerRbFilename = 'vc__handler__ruby';
|
const handlerRbFilename = 'vc__handler__ruby';
|
||||||
|
|
||||||
const outputFiles: Files = await glob('**', workPath);
|
const outputFiles: Files = await glob('**', workPath);
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ def webrick_handler(httpMethod, path, body, headers)
|
|||||||
server.shutdown
|
server.shutdown
|
||||||
Thread.kill(th)
|
Thread.kill(th)
|
||||||
|
|
||||||
# Net::HTTP doesnt read the set the encoding so we must set manually.
|
# Net::HTTP doesn't read the set the encoding so we must set manually.
|
||||||
# Bug: https://bugs.ruby-lang.org/issues/15517
|
# Bug: https://bugs.ruby-lang.org/issues/15517
|
||||||
# More: https://yehudakatz.com/2010/05/17/encodings-unabridged/
|
# More: https://yehudakatz.com/2010/05/17/encodings-unabridged/
|
||||||
res_headers = res.each_capitalized.to_h
|
res_headers = res.each_capitalized.to_h
|
||||||
|
|||||||
Reference in New Issue
Block a user