NodeAssets.Core.Commands.NodeExecutor.ExecuteCoffeeCommand C# (CSharp) Метод

ExecuteCoffeeCommand() публичный Метод

public ExecuteCoffeeCommand ( string args ) : CommandResult
args string
Результат CommandResult
        public CommandResult ExecuteCoffeeCommand(string args)
        {
            if (_workspace == null || !_workspace.Exists)
            {
                throw new InvalidOperationException("Need a working directory so that we can run coffee-script (npm install coffee-script)");
            }

            var coffee = _workspace.FullName + CoffeeScriptPath;
            return ExecuteNodeCommand(coffee + " " + args);
        }