Skip to content

Commit a1ed2cd

Browse files
committed
Fix fatal: pathspec check-submodule did not match any files
1 parent a3b6fea commit a1ed2cd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@ OPENAPI_CONFIG_FILES := $(addsuffix /openapi-generator-config.yml, $(SUBDIRS))
1919
echo " - types" >> $@; \
2020
echo " - client" >> $@; \
2121
echo "" >> $@; \
22-
echo "" >> $@; \
2322
echo "filter:" >> $@; \
2423
echo " tags:" >> $@; \
2524
echo " - $$tag_name" >> $@; \
2625
echo "" >> $@; \
27-
echo "" >> $@; \
2826
echo "accessModifier: public" >> $@; \
2927
echo "" >> $@;
3028
@git add $@
@@ -46,7 +44,7 @@ SWIFT_FILES := $(addsuffix /Client.swift, $(SUBDIRS))
4644

4745
check-submodule: Submodule
4846
git submodule update --recursive --remote
49-
@git add $@
47+
@git add $^
5048
@git commit -m "[Make]$$(git submodule status Submodule/github/rest-api-description)" && touch $^ || true
5149
@echo "::notice:: make $@"
5250

0 commit comments

Comments
 (0)