We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db1c309 commit 149388aCopy full SHA for 149388a
helpers/isStaticExportProject.js
@@ -5,7 +5,7 @@
5
const isStaticExportProject = ({ build, scripts }) => {
6
const NEXT_EXPORT_COMMAND = 'next export'
7
8
- if (!build || !build.command) return
+ if (!build.command) return false
9
10
const isSetInNetlifyConfig = build.command.includes(NEXT_EXPORT_COMMAND)
11
0 commit comments