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:
careworry
2024-04-18 22:41:03 +08:00
committed by GitHub
parent 8fd2c0671e
commit 0b05981673
4 changed files with 8 additions and 4 deletions

View File

@@ -0,0 +1,4 @@
---
---
chore: fix some typos in comments

View File

@@ -13,7 +13,7 @@ function initSentry() {
sentryInitDone = true;
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
dsn: assertEnv('SENTRY_DSN'),
environment: process.env.NODE_ENV || 'production',

View File

@@ -186,7 +186,7 @@ export const build: BuildV3 = async ({
if (meta.avoidTopLevelInstall && fileAtRoot) {
debug('Skipping `bundle install` — already handled by Install Command');
} 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.
await bundleInstall(
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
// somethig else
// something else
const handlerRbFilename = 'vc__handler__ruby';
const outputFiles: Files = await glob('**', workPath);

View File

@@ -60,7 +60,7 @@ def webrick_handler(httpMethod, path, body, headers)
server.shutdown
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
# More: https://yehudakatz.com/2010/05/17/encodings-unabridged/
res_headers = res.each_capitalized.to_h