-f flag is not available anymore in beautysh
This commit is contained in:
parent
41d5051b39
commit
6c2462af7a
|
@ -32,8 +32,8 @@ module.exports = class BashBeautify extends Beautifier
|
|||
file = @tempFile("input", text)
|
||||
tabs = options.indent_with_tabs
|
||||
if tabs is true
|
||||
beautysh.run([ '-t', '-f', file ])
|
||||
beautysh.run([ '-t', file ])
|
||||
.then(=> @readFile file)
|
||||
else
|
||||
beautysh.run([ '-i', options.indent_size, '-f', file ])
|
||||
beautysh.run([ '-i', options.indent_size, file ])
|
||||
.then(=> @readFile file)
|
||||
|
|
Loading…
Reference in New Issue