How can I stop/cancel a workflow with an error message when a directory does not exists?

前端 未结 0 1223
逝去的感伤
逝去的感伤 2020-11-30 09:35

I know in a bash script I can check for exitance of a directory:

if [ -d "/path/to/dir" ] 
then
    echo "Directory /path/to/dir exists."          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题