appwrite / sdk-for-cli

[READ-ONLY] Official Appwrite CLI >_
BSD 3-Clause "New" or "Revised" License
89 stars 27 forks source link

🐛 Bug Report: Variables aren't Deployed on 1st Function Deployment #59

Closed yaakov123 closed 1 year ago

yaakov123 commented 2 years ago

👟 Reproduction steps

When I try to deploy a function for the first time using "appwrite deploy function", the CLI does not deploy the variables that are located in the appwrite.json for that function. Running "appwrite deploy" function again causes the variables to show up in the console.

👍 Expected behavior

It should create the function's variable even during the initial function deployment.

👎 Actual Behavior

It does not create the variables on the first run of "appwrite deploy function"

🎲 Appwrite version

Version 1.0.x

💻 Operating system

Windows

🧱 Your Environment

appwrite -v => 1.1.1

👀 Have you spent some time to check if this issue has been raised before?

🏢 Have you read the Code of Conduct?