From 4693f5fda4a86db3b2c38c267dfa2303b1625b0a Mon Sep 17 00:00:00 2001 From: Kaspars Dambis Date: Sun, 3 Mar 2019 15:02:27 +0200 Subject: [PATCH] Use ES5 for now --- scripts/grunt/task-readme.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/grunt/task-readme.js b/scripts/grunt/task-readme.js index bbef923..23f22d0 100644 --- a/scripts/grunt/task-readme.js +++ b/scripts/grunt/task-readme.js @@ -44,8 +44,8 @@ function getPluginVersion( pluginSource ) { module.exports = ( grunt ) => { - grunt.registerTask( 'readmeMdToTxt', 'Build the readme', () => { - const options = grunt.options( { + grunt.registerTask( 'readmeMdToTxt', 'Convert a Markdown readme into WordPress readme', function() { + const options = this.options( { src: 'readme.md', dest: 'readme.txt', pluginFile: null,