From 28c3ef83a3065b895d34ddb395640583b4f6c6a8 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Sun, 13 Aug 2023 18:43:01 -0300 Subject: [PATCH] fix(basic.gbapp): AS IMAGE testing. --- packages/basic.gblib/services/DialogKeywords.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/basic.gblib/services/DialogKeywords.ts b/packages/basic.gblib/services/DialogKeywords.ts index 6355fdff..795a0077 100644 --- a/packages/basic.gblib/services/DialogKeywords.ts +++ b/packages/basic.gblib/services/DialogKeywords.ts @@ -567,8 +567,8 @@ export class DialogKeywords { } } - public static async getOption({ pid, name }) { - if (this.isUserSystemParam(name)) { + public static async getOption({ pid, name, root=false }) { + if (this.isUserSystemParam(name) || root) { throw new Error(`Not possible to retrieve ${name} system param.`); } let { min, user, params } = await DialogKeywords.getProcessInfo(pid);