We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3beffea commit 9cfa93eCopy full SHA for 9cfa93e
lib/bundle.js
@@ -34,6 +34,7 @@ function bundle (functionName) {
34
}
35
return Bb.bind(this).return(data).then(zipIt).then(clean)
36
})
37
+ .catch(err => (err instanceof errors.SkipFunctionError ? {} : Promise.reject(err)))
38
39
40
function bootstrap (functionName) {
lib/validate.js
@@ -17,7 +17,7 @@ module.exports = {
17
},
18
19
_validateFunction (data) {
20
- if (get(data, 'functionBrowserifyConfig.disable', this._b.isDisabled)) {
+ if (get(data, 'functionObject.browserify.disable', this._b.isDisabled)) {
21
throw new errors.SkipFunctionError(data.functionName, 'bundling disabled')
22
23
const node = this._b.runtimeIsNode ? 'nodejs' : ''
0 commit comments