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);
        }