From ef0966e8ff812bb22bcc7b49e131520a37f9a029 Mon Sep 17 00:00:00 2001 From: Oleksandr Vayda Date: Tue, 4 Jun 2024 16:45:12 +0200 Subject: [PATCH] issue #1332 attempt to fix unit tests failing on Windows to due to line end differences. --- rest-gateway/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest-gateway/package.json b/rest-gateway/package.json index c9b4c0f83..f39ed42dd 100644 --- a/rest-gateway/package.json +++ b/rest-gateway/package.json @@ -2,7 +2,7 @@ "license": "Apache-2.0", "scripts": { "gen-api-doc:all": "npm run gen-api-doc --doc_name=consumer && npm run gen-api-doc --doc_name=producer", - "gen-api-doc": "cross-env ./node_modules/@redocly/cli/bin/cli.js build-docs -o $npm_config_docs_dir/$npm_config_doc_name.html $npm_config_docs_dir/$npm_config_doc_name.swagger.json", + "gen-api-doc": "cross-env-shell ./node_modules/@redocly/cli/bin/cli.js build-docs -o $npm_config_docs_dir/$npm_config_doc_name.html $npm_config_docs_dir/$npm_config_doc_name.swagger.json", "build": "echo unused stage", "test": "echo unused stage", "lint": "echo unused stage"