Skip to content

Commit

Permalink
fix(basic.gblib): Correcting the position of Parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
phpussente committed May 15, 2023
1 parent ececb0d commit a925c8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/basic.gblib/services/KeywordsExpressions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,28 +383,28 @@ export class KeywordsExpressions {
keywords[i++] = [
/^\s*hear (\w+\$*) as\s*money/gim,
($0, $1) => {
return `${$1} = await dk.hear({pid: pid, kind:"money")}`;
return `${$1} = await dk.hear({pid: pid, kind:"money"})`;
}
];

keywords[i++] = [
/^\s*hear (\w+\$*) as\s*qrcode/gim,
($0, $1) => {
return `${$1} = await dk.hear({pid: pid, kind:"qrcode")}`;
return `${$1} = await dk.hear({pid: pid, kind:"qrcode"})`;
}
];

keywords[i++] = [
/^\s*hear (\w+\$*) as\s*language/gim,
($0, $1) => {
return `${$1} = await dk.hear({pid: pid, kind:"language")}`;
return `${$1} = await dk.hear({pid: pid, kind:"language"})`;
}
];

keywords[i++] = [
/^\s*hear (\w+\$*) as\s*zipcode/gim,
($0, $1) => {
return `${$1} = await dk.hear({pid: pid, kind:"zipcode")}`;
return `${$1} = await dk.hear({pid: pid, kind:"zipcode"})`;
}
];

Expand Down

0 comments on commit a925c8e

Please sign in to comment.