We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 887b90a commit 68b5662Copy full SHA for 68b5662
src/index.js
@@ -71,9 +71,9 @@ module.exports = {
71
})
72
},
73
74
- async onPostBuild({ netlifyConfig, utils: { cache }, constants }) {
+ async onPostBuild({ netlifyConfig, utils: { cache }, constants: { FUNCTIONS_DIST } }) {
75
await saveCache({ cache, publish: netlifyConfig.build.publish })
76
- await checkZipSize(join(process.cwd(), constants.FUNCTIONS_DIST, `${ODB_FUNCTION_NAME}.zip`))
+ await checkZipSize(join(FUNCTIONS_DIST, `${ODB_FUNCTION_NAME}.zip`))
77
78
onEnd() {
79
logBetaMessage()
0 commit comments