Fix the initial hash change event.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3219 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2016-04-28 21:53:43 +00:00
parent 8ae1d23763
commit 9668723200

View File

@ -344,6 +344,9 @@ function getProcess(packageOwner, packageName, key, options) {
print("Task ready");
broadcastEvent('onSessionBegin', [getUser(process, process)]);
resolveReady(process);
if (process.terminal) {
process.terminal.print({action: "ready"});
}
}).catch(function(error) {
printError(process.terminal, error);
rejectReady();