Skip to content

Commit

Permalink
Clean up comments
Browse files Browse the repository at this point in the history
this is why I hate comments, they get out of sync
  • Loading branch information
WilliamBergamin committed Oct 25, 2023
1 parent 2414cf6 commit e8f7298
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const createFunctionFile = async (
}

protocol.warn(
`Failed bundling function file "${fnId}" with Deno falling back to esbuild`,
"Failed bundling with `Deno Bundle` falling back to esbuild",
);

try {
Expand Down
2 changes: 1 addition & 1 deletion src/bundler/deno_bundler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { BundleError } from "../errors.ts";
export type DenoBundleOptions = {
/** The path to the file being bundled */
entrypoint: string;
/** The path to the deno.json / deno.jsonc config file. */
/** The path where the bundled file should be written. */
outFile: string;
};

Expand Down
1 change: 0 additions & 1 deletion src/bundler/esbuild_bundler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export type EsbuildBundleOptions = {
export const EsbuildBundler = {
bundle: async (options: EsbuildBundleOptions): Promise<Uint8Array> => {
try {
Deno.version.deno;
// esbuild configuration options https://esbuild.github.io/api/#overview
const result = await esbuild.build({
entryPoints: [options.entrypoint],
Expand Down

0 comments on commit e8f7298

Please sign in to comment.