diff --git a/index.js b/index.js index 366e6a4..00e2698 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ var path = require('path'); var arrify = require('arrify'); var assign = require('object-assign'); -var formatter = require('stylelint/lib/formatters/stringFormatter'); +var formatter = require('stylelint').formatters.string; // Modules var runCompilation = require('./lib/run-compilation');