Skip to content

Commit

Permalink
fix: enabled nodejs compat
Browse files Browse the repository at this point in the history
gentlementlegen committed Jul 16, 2024
1 parent a6c87c0 commit 8b27baa
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/github/handlers/help-command.ts
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@ import { GithubPlugin, isGithubPlugin } from "../types/plugin-configuration";
import { GitHubContext } from "../github-context";
import { Manifest, manifestSchema, manifestValidator } from "../../types/manifest";
import { Value } from "@sinclair/typebox/value";
import { Buffer } from "node:buffer";

async function parseCommandsFromManifest(context: GitHubContext<"issue_comment.created">, plugin: string | GithubPlugin) {
const commands: string[] = [];
1 change: 1 addition & 0 deletions wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name = "ubiquibot-worker"
main = "src/worker.ts"
compatibility_date = "2023-12-06"
compatibility_flags = [ "nodejs_compat" ]

# Prefer this syntax due to a bug in Wrangler: https://github.com/cloudflare/workers-sdk/issues/5634
[env]

0 comments on commit 8b27baa

Please sign in to comment.