Closed sillybun closed 5 years ago
我打开了workflow的debug功能,虽然mpush能够正常运行,但是跳出了这样的错误:
[2019-04-01 09:00:45][ERROR: action.script] /Users/zhangyiteng/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Scripts/9A5C9356-CC16-44C6-AC42-395333EE0936: line 1: [: too many arguments
可以把开头的if ... fi 改拆成两个if
if [ -z "${MBLOG_HOME}" ];then exit 1 fi if [ ! -d "${MBLOG_HOME}" ];then exit 1 fi
谢谢!
我打开了workflow的debug功能,虽然mpush能够正常运行,但是跳出了这样的错误: