Fix linting error

This commit is contained in:
Glavin Wiechert 2017-04-19 22:35:50 -03:00
parent dbfc939271
commit dda4672f93
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ module.exports = class PHPCBF extends Beautifier
beautify: (text, language, options) ->
@debug('phpcbf', options)
standardFiles = ['phpcs.xml', 'phpcs.xml.dist', 'phpcs.ruleset.xml', 'ruleset.xml']
standardFile = @findFile(atom.project.getPaths()[0], standardFiles);
standardFile = @findFile(atom.project.getPaths()[0], standardFiles)
options.standard = standardFile if standardFile