Skip to content

Commit 149388a

Browse files
remove unnecessary condition
Co-authored-by: ehmicky <[email protected]>
1 parent db1c309 commit 149388a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helpers/isStaticExportProject.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
const isStaticExportProject = ({ build, scripts }) => {
66
const NEXT_EXPORT_COMMAND = 'next export'
77

8-
if (!build || !build.command) return
8+
if (!build.command) return false
99

1010
const isSetInNetlifyConfig = build.command.includes(NEXT_EXPORT_COMMAND)
1111

0 commit comments

Comments
 (0)