Remove unused force param.

This commit is contained in:
Logan Smyth 2016-04-12 23:46:06 -07:00
parent d042ddfdda
commit c1ba5e6ac8

View File

@ -131,13 +131,13 @@ export default class Buffer {
} }
/** /**
* Add a space to the buffer unless it is compact (override with force). * Add a space to the buffer unless it is compact.
*/ */
space(force?: boolean) { space() {
if (!force && this.format.compact) return; if (this.format.compact) return;
if (force || this.buf && !this.isLast(" ") && !this.isLast("\n")) { if (this.buf && !this.isLast(" ") && !this.isLast("\n")) {
this.push(" "); this.push(" ");
} }
} }