Fix linting error
This commit is contained in:
parent
dbfc939271
commit
dda4672f93
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue