From 950b1dcbb69ad0fa120d071c70bde350548cb41a 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 6355fdff0..795a00774 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);