OSDN Git Service

updated execute function
authorhimetani_cafe <fumifumi@yasunaga-lab.bio.kyutech.ac.jp>
Thu, 21 Jan 2016 17:00:25 +0000 (02:00 +0900)
committerhimetani_cafe <fumifumi@yasunaga-lab.bio.kyutech.ac.jp>
Thu, 21 Jan 2016 17:00:25 +0000 (02:00 +0900)
server/class/Eos.js

index 8771854..347aaf1 100644 (file)
@@ -253,13 +253,11 @@ function Eos() {
          * @returns {object}
          */
         execute: function(command, options) {
-
-            /**
-             * End in Success
-             */
-            result.hasDone = true;
-            result.message = command + ' has done.';
-            return result;
+            var result = validate(command, options);
+            if(!result.hasDone) {
+            } else {
+                var str = toExecString(command, options);
+            }
         },
 
         // For unit test