File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 11name : aws-lambda
2- version : 2.0.1
2+ version : 2.0.2
33author : eahefnawy
44org : serverlessinc
55description : Deploys an AWS Lambda Function
@@ -8,3 +8,6 @@ repo: https://github.com/serverless-components/aws-lambda
88readme : ' '
99license : MIT
1010src : ./src
11+ types :
12+ providers :
13+ - aws
Original file line number Diff line number Diff line change @@ -21,12 +21,6 @@ class AwsLambda extends Component {
2121 * @param {* } inputs
2222 */
2323 async deploy ( inputs = { } ) {
24- // this error message assumes that the user is running via the CLI though...
25- if ( Object . keys ( this . credentials . aws ) . length === 0 ) {
26- const msg = `Credentials not found. Make sure you have a .env file in the cwd. - Docs: https://git.io/JvArp`
27- throw new Error ( msg )
28- }
29-
3024 // Check size of source code is less than 100MB
3125 if ( this . size > 100000000 ) {
3226 throw new Error (
You can’t perform that action at this time.
0 commit comments