Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Commit 6d48adc

Browse files
authored
Merge pull request #100 from netlify/return-promise-from-lambda-detector
Return a promise from netlify-lambda detector
2 parents 911e141 + 197b41d commit 6d48adc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/function-builder-detectors/netlify-lambda.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ module.exports = function() {
3333
}
3434

3535
if (settings.npmScript) {
36-
settings.build = () => {
36+
settings.build = () =>
3737
execa(yarnExists ? "yarn" : "npm", ["run", settings.npmScript]);
38-
};
3938
return settings;
4039
}
4140
};

0 commit comments

Comments
 (0)