Clean up logging, remove atom-typescript from specs
This commit is contained in:
parent
d6297bdefc
commit
9afde9bfd1
|
@ -27,7 +27,7 @@ describe "BeautifyLanguages", ->
|
||||||
dependentPackages = [
|
dependentPackages = [
|
||||||
'autocomplete-plus'
|
'autocomplete-plus'
|
||||||
'linter'
|
'linter'
|
||||||
'atom-typescript'
|
# 'atom-typescript' # it logs too much...
|
||||||
]
|
]
|
||||||
# Add language packages to dependentPackages
|
# Add language packages to dependentPackages
|
||||||
for lang in allLanguages
|
for lang in allLanguages
|
||||||
|
|
|
@ -23,7 +23,7 @@ module.exports = class Rubocop extends Beautifier
|
||||||
"Width": options.indent_size
|
"Width": options.indent_size
|
||||||
}
|
}
|
||||||
configStr = yaml.safeDump(config)
|
configStr = yaml.safeDump(config)
|
||||||
console.log("rubocop", config, configStr)
|
@debug("rubocop", config, configStr)
|
||||||
|
|
||||||
@run("rubocop", [
|
@run("rubocop", [
|
||||||
"--auto-correct"
|
"--auto-correct"
|
||||||
|
@ -33,8 +33,8 @@ module.exports = class Rubocop extends Beautifier
|
||||||
.then(=>
|
.then(=>
|
||||||
# console.log('rubocop', arguments, tempFile)
|
# console.log('rubocop', arguments, tempFile)
|
||||||
@readFile(tempFile)
|
@readFile(tempFile)
|
||||||
.then((text) ->
|
# .then((text) ->
|
||||||
console.log('rubocop', text)
|
# console.log('rubocop', text)
|
||||||
return text
|
# return text
|
||||||
)
|
# )
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue