Skip to content

Commit

Permalink
handle import case too
Browse files Browse the repository at this point in the history
  • Loading branch information
rubys committed Dec 24, 2024
1 parent d5dd3d2 commit dd9e313
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/docker-entrypoint.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { writeFileSync } from 'node:fs'
<% if (prismaFile) { -%>
import path from 'node:path'
import fs from 'node:fs'
<% } else if (prismaEnv && sqlite3) { -%>
import fs from 'node:fs'
<% } -%>
<% } else { -%>
const { spawn } = require('node:child_process')
Expand Down

0 comments on commit dd9e313

Please sign in to comment.