init block frontEnd file

This commit is contained in:
zhangkun9038@dingtalk.com 2023-03-01 21:27:57 +08:00
parent 20686bd292
commit bebff0e3f9

View File

@ -59,8 +59,8 @@ function extractHere() {
function init(){ function init(){
cd $workPath cd $workPath
if [ ! -f "$fileName" ];then if [ ! -f "$fileName" ];then
echo "file $fileName not exist!" echo "file $fileName not exist! make a block file now!"
exit 0 touch $fileName
fi fi
if [ ! -d "$projectPath" ]; then if [ ! -d "$projectPath" ]; then
echo "path $projectPath exist! " echo "path $projectPath exist! "