mirror of
https://github.com/esiur/esiur-js.git
synced 2025-06-27 07:13:12 +00:00
Merge branch 'main' of https://github.com/esiur/esiur-js
This commit is contained in:
@ -267,7 +267,7 @@ export default class TemplateGenerator {
|
||||
// no longer needed
|
||||
Warehouse.remove(con);
|
||||
|
||||
let dstDir = `lib/${dir}`;
|
||||
let dstDir = `${dir}`;
|
||||
|
||||
|
||||
if (!fs.existsSync(dstDir)){
|
||||
|
@ -437,7 +437,7 @@ export class WH extends IEventHandler
|
||||
for (var i = 1; i < p.length; i++)
|
||||
{
|
||||
var children = resource.instance.children.list.filter(x=>x.instance.name == p[i]);// <IResource>(p[i]);
|
||||
if (children.length > 0)
|
||||
if (children != null && children.length > 0)
|
||||
{
|
||||
if (i == p.length - 1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user