       rubocopArguments = [
         "--auto-correct"
         "--force-exclusion"
-        "--stdin", relativePath || temp.path({suffix: '.rb'})
+        "--stdin", "atom-beautify.rb" # filename is required but not used
       ]
       rubocopArguments.push("--config", tempConfig) if tempConfig?
       @debug("rubocop arguments", rubocopArguments)


  beautify: (text, language, options, context) ->
    fullPath = context.filePath
    [projectPath, relativePath] = atom.project.relativizePath(fullPath)

    # Find the rubocop path
    @Promise.all([

"use strict"
Beautifier = require('./beautifier')
path = require('path')

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