From 67fcd75de80d51103252bcd282a98fd558da345a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20MAH=C3=89?= Date: Sun, 29 Nov 2015 14:33:11 +0100 Subject: [PATCH] Update eslint.results in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3fdcc6f..e9975bb 100644 --- a/README.md +++ b/README.md @@ -208,8 +208,8 @@ gulp.src(['**/*.js','!node_modules/**']) .pipe(eslint.results(function (results) { // Called once for all ESLint results. console.log('Total Results: ' + results.length); - console.log('Total Warnings: ' + result.warningCount); - console.log('Total Errors: ' + result.errorCount); + console.log('Total Warnings: ' + results.warningCount); + console.log('Total Errors: ' + results.errorCount); })); ```