diff --git a/.changeset/strong-drinks-lay.md b/.changeset/strong-drinks-lay.md new file mode 100644 index 000000000..90ccc574a --- /dev/null +++ b/.changeset/strong-drinks-lay.md @@ -0,0 +1,4 @@ +--- +--- + +chore: fix some typos in comments diff --git a/api/_lib/util/error-handler.ts b/api/_lib/util/error-handler.ts index 3ba7a3bc1..6315b9926 100644 --- a/api/_lib/util/error-handler.ts +++ b/api/_lib/util/error-handler.ts @@ -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', diff --git a/packages/ruby/src/index.ts b/packages/ruby/src/index.ts index 63dfe776e..488c69759 100644 --- a/packages/ruby/src/index.ts +++ b/packages/ruby/src/index.ts @@ -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); diff --git a/packages/ruby/vc_init.rb b/packages/ruby/vc_init.rb index 57b108eb7..2008942a2 100755 --- a/packages/ruby/vc_init.rb +++ b/packages/ruby/vc_init.rb @@ -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