     Markdown: false
   }
 
-  beautify: (text, language, options) ->
+  beautify: (text, language, options, context) ->
     return new @Promise((resolve, reject) ->
       _ = require('lodash')
 

      else
        reject(new Error("Unknown language for Prettier"))

      filePath = atom.workspace.getActiveTextEditor().getPath()

      try
        prettier.resolveConfig(filePath).then((configOptions) ->


Beautifier = require('./beautifier')
prettier = require("prettier")
path = require("path")

module.exports = class Prettier extends Beautifier
  name: "Prettier"
