Skip to content

Commit

Permalink
Add no-prisma file for creatables script
Browse files Browse the repository at this point in the history
  • Loading branch information
gc committed Mar 4, 2024
1 parent 0ac7d20 commit 49af09c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scripts/no-prisma.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @ts-ignore

Check failure on line 1 in src/scripts/no-prisma.ts

View workflow job for this annotation

GitHub Actions / Node v18.12.0 - ubuntu-latest

Include a description after the "@ts-ignore" directive to explain why the @ts-ignore is necessary. The description must be 3 characters or longer
global.prisma = { $on: () => {} };
1 change: 1 addition & 0 deletions src/scripts/render-creatables-file.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import './no-prisma';
import '../lib/data/itemAliases';

import { writeFileSync } from 'fs';
Expand Down

0 comments on commit 49af09c

Please sign in to comment.