mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 16:12:26 +01:00
allow commands with the hereDoc property to use the heredoc in sourced files
This commit is contained in:
@@ -821,7 +821,7 @@ lookup:
|
|||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else if (command.name == "javascript")
|
else if (command.hereDoc)
|
||||||
{
|
{
|
||||||
// check for a heredoc
|
// check for a heredoc
|
||||||
let matches = args.match(/(.*)<<\s*(\S+)$/);
|
let matches = args.match(/(.*)<<\s*(\S+)$/);
|
||||||
|
|||||||
Reference in New Issue
Block a user