示例#1
0
        public static void RunMarkdownlintNodeJs(this ICakeContext context, MarkdownlintNodeJsRunnerSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            var runner =
                new MarkdownlintNodeJsRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            runner.RunMarkdownlint(settings);
        }
示例#2
0
        protected override void RunTool()
        {
            var tool = new MarkdownlintNodeJsRunner(this.FileSystem, this.Environment, this.ProcessRunner, this.Tools);

            tool.RunMarkdownlint(this.Settings);
        }