mirror of
https://github.com/valitydev/swag-payments.git
synced 2024-11-06 01:25:22 +00:00
Disable sed step in build.js
This commit is contained in:
parent
02eab7d5cc
commit
280ca2b011
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user