bin/validate_generator.sh in cqm-models-3.0.6 vs bin/validate_generator.sh in cqm-models-3.1.0
- old
+ new
@@ -1,9 +1,9 @@
#!/bin/bash
yes | ruby lib/generate_models.rb modelinfo/qdm-modelinfo-5.5.xml data/oids_qdm_5.5.json
-if git diff-index --quiet HEAD --; then
+if git diff --quiet HEAD --; then
echo "Generator script produces no differences."
exit 0
else
echo "Differences found when running generator script! Make sure there are no
unstaged or untracked files."