Loading sa5/lint-data-models.sh +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ echo "------ Linting modified YANG files ------" # If there are no YANG, JSON or XML files, then simply exit ls | grep -q 'yang' found_data_models=$? if [ ! $found_data_models ] ; then if [ $found_data_models == 1 ] ; then echo "-- No YANG files." >>$LOGFILE exit 0 fi Loading sa5/validate-all.sh +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ echo -e "\n------ Validating all YAML files (may takes several minutes) ------" # If there are no YAML file, simply exit ls | grep -q yaml found_yaml=$? if [ ! $found_yaml ] ; then if [ $found_yaml == 1 ] ; then echo "-- No YAML files." >> $LOGFILE exit 0 fi Loading sa5/validate-data-models.sh +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ echo "------ Validating modified YANG files ------" # If there are no YANG, JSON or XML files, then simply exit ls | grep -q 'yang' found_data_models=$? if [ ! $found_data_models ] ; then if [ $found_data_models == 1 ] ; then echo "-- No YANG files.">>$LOGFILE exit 0 fi Loading Loading
sa5/lint-data-models.sh +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ echo "------ Linting modified YANG files ------" # If there are no YANG, JSON or XML files, then simply exit ls | grep -q 'yang' found_data_models=$? if [ ! $found_data_models ] ; then if [ $found_data_models == 1 ] ; then echo "-- No YANG files." >>$LOGFILE exit 0 fi Loading
sa5/validate-all.sh +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ echo -e "\n------ Validating all YAML files (may takes several minutes) ------" # If there are no YAML file, simply exit ls | grep -q yaml found_yaml=$? if [ ! $found_yaml ] ; then if [ $found_yaml == 1 ] ; then echo "-- No YAML files." >> $LOGFILE exit 0 fi Loading
sa5/validate-data-models.sh +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ echo "------ Validating modified YANG files ------" # If there are no YANG, JSON or XML files, then simply exit ls | grep -q 'yang' found_data_models=$? if [ ! $found_data_models ] ; then if [ $found_data_models == 1 ] ; then echo "-- No YANG files.">>$LOGFILE exit 0 fi Loading