diff --git a/src/beautifiers/vue-beautifier.coffee b/src/beautifiers/vue-beautifier.coffee index 6c693b9..6c0aa7a 100644 --- a/src/beautifiers/vue-beautifier.coffee +++ b/src/beautifiers/vue-beautifier.coffee @@ -23,7 +23,7 @@ module.exports = class VueBeautifier extends Beautifier switch lang when "pug", "jade" require("pug-beautify")(text, options) - when undefined + when "html", undefined require("js-beautify").html(text, options) else undefined @@ -45,7 +45,7 @@ module.exports = class VueBeautifier extends Beautifier mode: "beautify" ) prettydiff(options) - when undefined + when "css", undefined require("js-beautify").css(text, options) else undefined