fix(basic.gblib): Fixes #395 talk with no quotes.
This commit is contained in:
parent
5ed835afdb
commit
4d8061db60
2 changed files with 4 additions and 3 deletions
|
@ -966,8 +966,7 @@ export class KeywordsExpressions {
|
|||
|
||||
// // Uses auto quote if this is a phrase with more then one word.
|
||||
|
||||
if (/\s/.test($3) &&
|
||||
($3.trim().substr(0, 1) !== '`' || $3.trim().substr(0, 1) !== "'")) {
|
||||
if (!($3.trim().substr(0, 1) === '`' || $3.trim().substr(0, 1) === "'")) {
|
||||
$3 = "`" + $3 + "`";
|
||||
}
|
||||
return `await dk.talk ({pid: pid, text: ${$3}})`;
|
||||
|
|
|
@ -657,6 +657,8 @@ export class SystemKeywords {
|
|||
/**
|
||||
* Saves the content of variable into BLOB storage.
|
||||
*
|
||||
* MSFT uses MD5, see https://katelynsills.com/law/the-curious-case-of-md5.
|
||||
*
|
||||
* @exaple UPLOAD file.
|
||||
*
|
||||
*/
|
||||
|
@ -701,7 +703,7 @@ export class SystemKeywords {
|
|||
const res = await blockBlobClient.uploadFile(localName,
|
||||
{
|
||||
blobHTTPHeaders: {
|
||||
blobContentMD5: hash
|
||||
blobContentMD5: hash
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue