1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 16:32:27 +01:00

allow commands with the hereDoc property to use the heredoc in sourced files

This commit is contained in:
Doug Kearns
2008-10-04 10:27:37 +00:00
parent 6ef73cf313
commit 2309f5577c

View File

@@ -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+)$/);