Skip to content

Commit 258db01

Browse files
Update Makefile
Co-authored-by: silverwind <[email protected]>
1 parent e1136b3 commit 258db01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ swagger-validate: ## check if the swagger spec is valid
287287
@$(SED_INPLACE) -E 's|"basePath":( *)"(.*)"|"basePath":\1"/\2"|g' './$(SWAGGER_SPEC)' # add a prefix slash to basePath
288288
@# FIXME: there are some warnings
289289
$(GO) run $(SWAGGER_PACKAGE) validate './$(SWAGGER_SPEC)'
290-
@$(SED_INPLACE) -E 's|"basePath":( *)"/(.*)"|"basePath":\1"\2"|g' './$(SWAGGER_SPEC)' # remove the prefix slash from basePath
290+
@$(SED_INPLACE) -E -e 's|"basePath":( *)"/(.*)"|"basePath":\1"\2"|g' './$(SWAGGER_SPEC)' # remove the prefix slash from basePath
291291

292292
.PHONY: checks
293293
checks: checks-frontend checks-backend ## run various consistency checks

0 commit comments

Comments
 (0)