Skip to content

Commit

Permalink
[prisma-generator-accel-record] fix
Browse files Browse the repository at this point in the history
  • Loading branch information
koyopro committed Dec 22, 2024
1 parent 05608c1 commit f1c94ec
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const loadModels = async (options: GeneratorOptions) => {
if (!fs.existsSync(filePath)) return undefined;
try {
buildFile(filePath, outfile);
process.env.DISABLE_SYNC_ACTIONS = "1";
return await eval(`import('${outfile}')`);
} catch {
console.log(
Expand Down

0 comments on commit f1c94ec

Please sign in to comment.