remove on test and change method name
This commit is contained in:
parent
b04ada662f
commit
816596fab0
|
@ -188,9 +188,6 @@ describe "BeautifyLanguages", ->
|
|||
beautifyCompleted = false
|
||||
completionFun = (text) ->
|
||||
try
|
||||
logger.verbose(expectedTestPath, text)
|
||||
logger.verbose(expectedTestPath, text.message)
|
||||
logger.verbose(expectedTestPath, text.toString())
|
||||
expect(text instanceof Error).not.toEqual(true, text.message or text.toString())
|
||||
return beautifyCompleted = true if text instanceof Error
|
||||
# logger.verbose(expectedTestPath, text) if ext is ".less"
|
||||
|
|
|
@ -16,7 +16,7 @@ module.exports = class TypeScriptFormatter extends Beautifier
|
|||
formatterUtils = require("typescript-formatter/lib/utils")
|
||||
# @verbose('format', format, formatterUtils)
|
||||
|
||||
opts = formatterUtils.createDefaultFormatCodeOptions()
|
||||
opts = formatterUtils.createDefaultFormatCodeSettings()
|
||||
|
||||
if options.indent_with_tabs
|
||||
opts.ConvertTabsToSpaces = false
|
||||
|
|
Loading…
Reference in New Issue