Skip to content

Commit

Permalink
use proper @here command
Browse files Browse the repository at this point in the history
  • Loading branch information
jharting committed Dec 19, 2017
1 parent a8809de commit 44e9e50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/events/events.unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe('Events', function () {
};

const result = events['system:unregistered'](msg);
result.should.equal('@here System unregistered: *jozef_vm04* (dd18ed75-44f5-4fd1-8ca0-ed08c2d9c320)');
result.should.equal('<!here> System unregistered: *jozef_vm04* (dd18ed75-44f5-4fd1-8ca0-ed08c2d9c320)');
});
});

Expand Down
2 changes: 1 addition & 1 deletion app/events/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ config.here.forEach(event => {

module.exports[event] = function (...args) {
const result = delegate(...args);
return `@here ${result}`;
return `<!here> ${result}`;
};
});

0 comments on commit 44e9e50

Please sign in to comment.