Output is incorrect on commands/manage
See original GitHub issueI have finally upgraded to the latest serverless version. It looks like they may have changed how promises work? I’m not great with node, but I was able to track down where the issue lies.
When I run a manage command, the results come back looking like this:
"Operations to perform:\n Apply all migrations: admin, analytics, auth, contenttypes, core, sessions\nRunning migrations:\n No migrations to apply.\n"
Digging through code, I know that the output is coming from here: https://github.com/logandk/serverless-wsgi/blob/master/index.js#L490
It doesn’t appear that the .then
is getting triggered at all, as when I put in log statements, the output comes before the .then
gets triggered.
I am going to try to fix it, but I am not great with node, so I could definitely use some help.
Serverless version 2.65.0. serverless-wsgi version 2.0.2
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (2 by maintainers)
Top GitHub Comments
@babyhuey Sorry about the delay, I got sidetracked. Thanks for the reminder, the release is out.
@logandk I don’t mean to be a bother, but can we have a release with this change?