aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/command/commands.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/commands.js b/src/command/commands.js
index 8fa369a..d5b9787 100644
--- a/src/command/commands.js
+++ b/src/command/commands.js
@@ -2,7 +2,7 @@ function execute(output, command) {
var notImplemented = function(name) {
output.error('"' + name + '"' + ' is not implemented.');
};
- var args = command.split(' ');
+ var args = command.trim().split(' ');
try {
var closure = eval(args[0]);