You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SLS deploy needs to check if directory has config file #1980
Hi @DavidWells
What does one need to reproduce this? If I run this in an empty dir, or if I rename my serverless.yml to e.g. serverless.yml2, I get this:
$ sls deploy
Type Error ---------------------------------------------
Path must be a string. Received null
For debugging logs, run again after setting SLS_DEBUG env var.
Get Support --------------------------------------------
Docs: v1.docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Please report this error. We think it might be a bug.
@DavidWells this should not be happening anymore as we've removed the ability to traverse the file tree up. In the future this feature could lead to exactly these issues if you had a serverless.yml in a parent folder. Closing for now unless you can still reproduce this feature with the latest master.
Activity
danielkoo commentedon Aug 31, 2016
Hi @DavidWells
What does one need to reproduce this? If I run this in an empty dir, or if I rename my serverless.yml to e.g. serverless.yml2, I get this:
flomotlik commentedon Sep 5, 2016
@DavidWells this should not be happening anymore as we've removed the ability to traverse the file tree up. In the future this feature could lead to exactly these issues if you had a serverless.yml in a parent folder. Closing for now unless you can still reproduce this feature with the latest master.