Skip to content

Commit

Permalink
Look for serverless.ts in the app dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomationD committed Sep 20, 2022
1 parent 6359233 commit 54e3433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/manager/serverless/serverless.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (sls *Manager) prepare() {
}

if len(sls.App.File) == 0 {
_, err := os.Stat(filepath.Join(sls.Project.RootDir, "serverless.ts"))
_, err := os.Stat(filepath.Join(sls.App.Path, "serverless.ts"))
if os.IsNotExist(err) {
sls.App.File = "serverless.yml"
} else {
Expand Down

0 comments on commit 54e3433

Please sign in to comment.