UNPKG

205 BJavaScriptView Raw
1export default function getIndentString ( magicString, options ) {
2 if ( !( 'indent' in options ) || options.indent === true ) {
3 return magicString.getIndentString();
4 }
5
6 return options.indent || '';
7}