@ixon-cdk/core 1.14.0-next.2 → 1.14.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/core",
3
- "version": "1.14.0-next.2",
3
+ "version": "1.14.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "",
package/server/index.js CHANGED
@@ -71,7 +71,7 @@ module.exports = class Server {
71
71
  let appDir;
72
72
  try {
73
73
  appDir = path.dirname(require.resolve('@ixon-cdk/simulator'));
74
- } catch (e) {
74
+ } catch {
75
75
  // If require.resolve is invoked immediately after the simulator is installed, it will return
76
76
  // a "MODULE_NOT_FOUND" error. In that case (as a fallback) we'll find the simulator app dir
77
77
  // relative to the core module (which should have already been installed).
@@ -425,7 +425,9 @@ module.exports = class TemplateService {
425
425
  const tail = ['iframe-wrapper'];
426
426
  files
427
427
  .sort((a, b) => {
428
- if (tail.includes(a)) return 1;
428
+ if (tail.includes(a)) {
429
+ return 1;
430
+ }
429
431
  return tail.includes(b) ? -1 : 0;
430
432
  })
431
433
  .forEach(file => {