We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2a1131 commit c495084Copy full SHA for c495084
scripts/Makefile
@@ -52,7 +52,7 @@ show-diff: nodejs/node_modules/remark nodejs/remark/.remarkrc $(SOURCEPATH) $(BU
52
.PHONY: check-references
53
check-references: $(SOURCEPATH) $(BUILD_DIR) Makefile
54
## check references unique
55
- rm $(BUILD_DIR)/$(SOURCEFILE).uniq
+ rm -f $(BUILD_DIR)/$(SOURCEFILE).uniq
56
grep -oP '(?<=<a name=")[^\"]+' $(SOURCEPATH) | uniq -d > $(BUILD_DIR)/$(SOURCEFILE).uniq
57
## check if output has data
58
if [ -s "build/CppCoreGuidelines.md.uniq" ]; then echo 'Found duplicate anchors:'; cat $(BUILD_DIR)/$(SOURCEFILE).uniq; false; fi
0 commit comments