By default Grunt exits the task/application when warn is called, so the return isn't really necessary. Instead this return here breaks anyone trying to use the --force option (or force tasks) with grunt-contrib-sass, because the next() callback is never called.
Suggest changing this to call next() and return instead of simply returning there.
Specifically on this line here https://github.com/gruntjs/grunt-contrib-sass/blob/master/tasks/sass.js#L111
By default Grunt exits the task/application when
warn
is called, so the return isn't really necessary. Instead this return here breaks anyone trying to use the --force option (or force tasks) with grunt-contrib-sass, because thenext()
callback is never called.Suggest changing this to call
next()
and return instead of simply returning there.