fix indentation detection
This commit is contained in:
parent
416c4cbb84
commit
3ff544bbab
@ -42,8 +42,8 @@ each(Buffer.prototype, function (fn, key) {
|
||||
CodeGenerator.normaliseOptions = function (code, opts) {
|
||||
var style = " ";
|
||||
if (code) {
|
||||
style = detectIndent(code).indent;
|
||||
if (style && style !== " ") style = " ";
|
||||
var indent = detectIndent(code).indent;
|
||||
if (indent && indent !== " ") style = indent;
|
||||
}
|
||||
|
||||
return merge({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user