Пример #1
0
        private void WriteMessage(AppVeyorMessageCategory category, string message, string details)
        {
            if (_messageCount == MessageLimit)
            {
                Theme.WriteWarning(
                    $"AppVeyor has a default limit of {MessageLimit} messages. " +
                    "If you're getting an exception from 'appveyor.exe' after this message, " +
                    "contact https://appveyor.com/support to resolve this issue for your account.");
            }

            _messageCount++;
            Cli?.Invoke($"AddMessage {message.DoubleQuote()} -Category {category} -Details {details.DoubleQuote()}",
                        logInvocation: false,
                        logOutput: false);
        }
Пример #2
0
 private void WriteMessage(AppVeyorMessageCategory category, string message, string details)
 {
     _cli.Invoke($"AddMessage {message.DoubleQuote()} -Category {category} -Details {details.DoubleQuote()}",
                 logInvocation: false,
                 logOutput: false);
 }