Show verbose logs when testing
This commit is contained in:
parent
4203fb72da
commit
200f53ea38
|
@ -31,7 +31,7 @@ describe "Atom-Beautify", ->
|
|||
pack = atom.packages.getLoadedPackage("atom-beautify")
|
||||
pack.activateNow()
|
||||
# Change logger level
|
||||
# atom.config.set('atom-beautify._loggerLevel', 'verbose')
|
||||
atom.config.set('atom-beautify.general.loggerLevel', 'verbose')
|
||||
# Return promise
|
||||
return activationPromise
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ describe "PHP-CS-Fixer Beautifier", ->
|
|||
pack = atom.packages.getLoadedPackage("atom-beautify")
|
||||
pack.activateNow()
|
||||
# Change logger level
|
||||
# atom.config.set('atom-beautify._loggerLevel', 'verbose')
|
||||
atom.config.set('atom-beautify.general.loggerLevel', 'verbose')
|
||||
# Return promise
|
||||
return activationPromise
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ describe "BeautifyLanguages", ->
|
|||
pack.activateNow()
|
||||
# Need more debugging on Windows
|
||||
# Change logger level
|
||||
atom.config.set('atom-beautify.general.loggerLevel', 'info')
|
||||
atom.config.set('atom-beautify.general.loggerLevel', 'verbose')
|
||||
# Return promise
|
||||
return activationPromise
|
||||
|
||||
|
|
|
@ -404,8 +404,8 @@ class HybridExecutable extends Executable
|
|||
.then(=> @runImage(@versionArgs, @versionRunOptions))
|
||||
.then((text) => @saveVersion(text))
|
||||
.then(=> @)
|
||||
.catch((error) =>
|
||||
@debug(error)
|
||||
.catch((dockerError) =>
|
||||
@debug(dockerError)
|
||||
Promise.reject(error)
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue