@ixon-cdk/core 1.14.0-next.2 → 1.15.0-next.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 +1 -1
- package/server/index.js +1 -1
- package/template/template.service.js +3 -1
package/package.json
CHANGED
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
|
|
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))
|
|
428
|
+
if (tail.includes(a)) {
|
|
429
|
+
return 1;
|
|
430
|
+
}
|
|
429
431
|
return tail.includes(b) ? -1 : 0;
|
|
430
432
|
})
|
|
431
433
|
.forEach(file => {
|