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); }
protected override void RunTool() { var tool = new MarkdownlintNodeJsRunner(this.FileSystem, this.Environment, this.ProcessRunner, this.Tools); tool.RunMarkdownlint(this.Settings); }