@nginstack/engine-node 71.0.907 → 71.0.911

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/lib/Engine.js +2 -2
  2. package/package.json +2 -2
package/lib/Engine.js CHANGED
@@ -57,7 +57,7 @@ class Engine {
57
57
  * @param {string} dbName Database name.
58
58
  * @param {EngineOptions=} opt_options Advanced options of this class.
59
59
  */
60
- constructor (installPath, serverUrl, dbName, opt_options) {
60
+ constructor(installPath, serverUrl, dbName, opt_options) {
61
61
  const options = opt_options || {};
62
62
  this.serverUrl = serverUrl;
63
63
  this.dbName = dbName;
@@ -281,7 +281,7 @@ class Engine {
281
281
  if (this.instanceId_) {
282
282
  const dirPath = path.resolve(this.installPath, 'conf');
283
283
  if (!fs.existsSync(dirPath)) {
284
- fs.mkdirSync(dirPath, {recursive: true});
284
+ fs.mkdirSync(dirPath, { recursive: true });
285
285
  }
286
286
  fs.writeFileSync(path.resolve(dirPath, 'engine_id.dat'), this.instanceId_);
287
287
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nginstack/engine-node",
3
- "version": "71.0.907",
3
+ "version": "71.0.911",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -24,5 +24,5 @@
24
24
  "thread-sleep": "^2.2.0",
25
25
  "tmp": "^0.2.1"
26
26
  },
27
- "gitHead": "b40fdd3195c2c768a2a50c769d2fe6749a58adda"
27
+ "gitHead": "e0d769be2b5b0a282b157e47d9c3e8ff5ecc0538"
28
28
  }