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(){
cd $workPath
if [ ! -f "$fileName" ];then
echo "file $fileName not exist!"
exit 0
echo "file $fileName not exist! make a block file now!"
touch $fileName
fi
if [ ! -d "$projectPath" ]; then
echo "path $projectPath exist! "