TACC-Cloud / tapis-cli

Next-generation Tapis CLI
BSD 3-Clause "New" or "Revised" License
14 stars 5 forks source link

When tapis apps deploy is run for the first time with a DesignSafe ac… #359

Open bpachev opened 3 years ago

bpachev commented 3 years ago

…count, it fails unless --no-upload is specified. If the 'apps' direct

ory doesn't exist on DesignSafe (which is the case with a new account), the upload of assets fails. This commit adds a little bit of robustnes s by catching a 404 error and creating the missing parent directory. Fixes #360