Skip to content

Commit cb79cce

Browse files
authored
CI: NPM script tweaks (open-telemetry#2700)
1 parent ac12c98 commit cb79cce

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ endif
3333
refcache-save: $(LINK_CACHE_FILE_SRC_DIR)/$(LINK_CACHE_FILE)
3434
ifeq (refcache, $(REFCACHE))
3535
cp $(LINK_CACHE_FILE_SRC_DIR)/$(LINK_CACHE_FILE) $(LINK_CACHE_FILE_DEST_DIR)/
36-
npm run format $(LINK_CACHE_FILE_DEST_DIR)/$(LINK_CACHE_FILE)
36+
npm run _prettier:any -- --write $(LINK_CACHE_FILE_DEST_DIR)/$(LINK_CACHE_FILE)
3737
else
3838
@echo "SKIPPING refcache-save"
3939
endif

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"_get:submodule": "set -x && git submodule update --init ${DEPTH:- --depth 1}",
1919
"_prebuild": "run-s get:submodule cp:spec",
2020
"_prepare:docsy": "cd themes/docsy && npm install",
21+
"_prettier:any": "npx prettier --ignore-path ''",
2122
"_serve:hugo": "hugo serve -DFE --minify",
2223
"_serve:netlify": "netlify dev -c \"npm run _serve:hugo\"",
2324
"all": "npm-run-all",

0 commit comments

Comments
 (0)