File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,15 +26,15 @@ type LambrollDeploymentInput struct {
2626 // FunctionFile is the path to the lambroll function file. This will be used as `lambroll deploy --function <functionFile>`
2727 FunctionFile string `json:"functionFile"`
2828
29- // SourceDir is the path to the lambroll source directory. This will be used as `lambroll deploy --src <sourceDir >`
30- SourceDir string `json:"sourceDir "`
29+ // Source is the path to the lambroll source directory. This will be used as `lambroll deploy --src <source >`
30+ Source string `json:"source "`
3131}
3232
3333func (i * LambrollDeploymentInput ) validate () error {
3434 if i .FunctionFile == "" {
3535 return errors .New ("functionFile is required" )
3636 }
37- if i .SourceDir == "" {
37+ if i .Source == "" {
3838 return errors .New ("sourceDir is required" )
3939 }
4040 return nil
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ func (e *deployExecutor) initLambrollCommand(ctx context.Context) (cmd *cli.Lamb
2626 e .lambrollPath ,
2727 e .appDir ,
2828 e .input .FunctionFile ,
29- e .input .SourceDir ,
29+ e .input .Source ,
3030 )
3131
3232 if ok := showUsingVersion (ctx , cmd , e .slp ); ! ok {
You can’t perform that action at this time.
0 commit comments