Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
fix: Suppress deprecation warning when writing to Info_Output.yml dur…
Browse files Browse the repository at this point in the history
…ing installation (#294)
  • Loading branch information
nguyen102 committed Apr 21, 2021
1 parent e950aca commit 462e146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ serverless deploy --region $region --stage $stage || { echo >&2 "Failed to deplo
## Output to console and to file Info_Output.yml. tee not used as it removes the output highlighting.
echo -e "Deployed Successfully.\n"
touch Info_Output.yml
serverless info --verbose --region $region --stage $stage && serverless info --verbose --region $region --stage $stage > Info_Output.yml
SLS_DEPRECATION_DISABLE=* serverless info --verbose --region $region --stage $stage && SLS_DEPRECATION_DISABLE=* serverless info --verbose --region $region --stage $stage > Info_Output.yml
#The double call to serverless info was a bugfix from Steven Johnston
#(may not be needed)

Expand Down

0 comments on commit 462e146

Please sign in to comment.