new(basic.gblib): SET CONTEXT new keyword.
This commit is contained in:
parent
15c47af5cf
commit
81258046c0
1 changed files with 4 additions and 1 deletions
|
@ -744,7 +744,10 @@ export class KeywordsExpressions {
|
||||||
|
|
||||||
// Handles the GET http version.
|
// Handles the GET http version.
|
||||||
else {
|
else {
|
||||||
if ($2.endsWith('.pdf') && !$2.startsWith('https')) {
|
|
||||||
|
const value = $2.replace(/\`/gi, '');
|
||||||
|
|
||||||
|
if (value.endsWith('.pdf') && !value.startsWith('https')) {
|
||||||
return `${$1} = await sys.getPdf({pid: pid, file: ${$2});`;
|
return `${$1} = await sys.getPdf({pid: pid, file: ${$2});`;
|
||||||
} else {
|
} else {
|
||||||
return `
|
return `
|
||||||
|
|
Loading…
Add table
Reference in a new issue