Skip to content

Commit

Permalink
Merge pull request #50 from ubiquity-whilefoo/fix
Browse files Browse the repository at this point in the history
Fix deploy
  • Loading branch information
gentlementlegen authored Nov 26, 2024
2 parents 4f88341 + 5b9c30f commit 4c1cd72
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { PluginSettings, pluginSettingsSchema } from "./types/plugin-input";
import { SupportedEvents } from "./types";
import { createAdapters } from "./adapters";

export default createActionsPlugin<PluginSettings, Env, null, SupportedEvents>(
createActionsPlugin<PluginSettings, Env, null, SupportedEvents>(
(context) => {
return runPlugin({
...context,
Expand All @@ -20,4 +20,7 @@ export default createActionsPlugin<PluginSettings, Env, null, SupportedEvents>(
...(process.env.KERNEL_PUBLIC_KEY && { kernelPublicKey: process.env.KERNEL_PUBLIC_KEY }),
postCommentOnError: true,
}
);
).catch((error) => {
console.error(error);
process.exit(1);
});

0 comments on commit 4c1cd72

Please sign in to comment.