@midwayjs/mock 3.4.0-beta.7 → 3.4.0-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/creator.js +1 -1
  2. package/package.json +4 -4
package/dist/creator.js CHANGED
@@ -236,7 +236,7 @@ async function createFunctionApp(baseDir = process.cwd(), options, customFramewo
236
236
  if (customPort) {
237
237
  await new Promise(resolve => {
238
238
  let server;
239
- if (this.configurationOptions.ssl) {
239
+ if (options.ssl) {
240
240
  server = require('https').createServer({
241
241
  key: (0, fs_1.readFileSync)((0, path_1.join)(__dirname, '../ssl/ssl.key'), 'utf8'),
242
242
  cert: (0, fs_1.readFileSync)((0, path_1.join)(__dirname, '../ssl/ssl.pem'), 'utf8'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/mock",
3
- "version": "3.4.0-beta.7",
3
+ "version": "3.4.0-beta.8",
4
4
  "description": "create your test app from midway framework",
5
5
  "main": "dist/index",
6
6
  "typings": "dist/index.d.ts",
@@ -27,8 +27,8 @@
27
27
  },
28
28
  "license": "MIT",
29
29
  "devDependencies": {
30
- "@midwayjs/core": "^3.4.0-beta.7",
31
- "@midwayjs/decorator": "^3.4.0-beta.7",
30
+ "@midwayjs/core": "^3.4.0-beta.8",
31
+ "@midwayjs/decorator": "^3.4.0-beta.8",
32
32
  "@midwayjs/logger": "^2.15.0",
33
33
  "@types/amqplib": "0.8.2",
34
34
  "amqplib": "0.10.0",
@@ -49,5 +49,5 @@
49
49
  "type": "git",
50
50
  "url": "http://github.com/midwayjs/midway.git"
51
51
  },
52
- "gitHead": "4d5cc59a7a33e49beeaf20fcfaf766438649959c"
52
+ "gitHead": "9e4ed69eca31022e4dc93ed52ac503fe25ae383e"
53
53
  }