tasks/bake.js
function applyIndent( indent, content ) {
			if ( ! indent || indent.length < 1 ) {
				return content;
			}

			return content
				.split( "\n" )
				.map( function( line ) {
					// do not indent empty lines
					return line.trim() !== "" ? ( indent + line ) : "";
				} )
				.join( "\n" );
		}
function applyIndent( indent, content ) {
			if ( ! indent || indent.length < 1 ) {
				return content;
			}

			return content
				.split( "\n" )
				.map( function( line ) {
					// do not indent empty lines
					return line.trim() !== "" ? ( indent + line ) : "";
				} )
				.join( "\n" );
		}
Helper method to apply indent