Disable sed step in build.js

This commit is contained in:
Pavel Popov 2022-04-05 14:21:08 +03:00 committed by GitHub
parent 02eab7d5cc
commit 280ca2b011
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,4 +21,4 @@ exec('npm run swagger bundle -- --yaml -o ' + TARGET_DIR + '/swagger.yaml');
var SWAGGER_UI_DIST = Path.dirname(require.resolve('swagger-ui'));
rm('-rf', TARGET_DIR + '/swagger-ui/')
cp('-R', SWAGGER_UI_DIST, TARGET_DIR + '/swagger-ui/')
sed('-i', 'http://petstore.swagger.io/v2/swagger.json', '../swagger.json', TARGET_DIR + '/swagger-ui/index.html')
// sed('-i', 'http://petstore.swagger.io/v2/swagger.json', '../swagger.json', TARGET_DIR + '/swagger-ui/index.html')