amazon-archives / aws-amplify-serverless-plugin

Plugin for the Serverless Framework to output AWS Amplify configuration files.
Apache License 2.0
124 stars 30 forks source link

Write configuration file synchronous #55

Open gustblima opened 5 years ago

gustblima commented 5 years ago

Issue #54

Description of changes: When the stack has no changes on serverless, the deploy is skipped and as the configuration file is written in an asynchronous method, this can cause an abruptly exit on the process before the writing is done, resulting on an empty configuration file. Now the configuration file is written on a synchronous method, even if the deploy is skipped, the application waits the writing process to be done.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.