remove useless force parameter in Buffer#_newline
This commit is contained in:
parent
9cb16711dd
commit
0fc958e0fc
@ -99,7 +99,7 @@ export default class Buffer {
|
||||
this._newline(removeLast);
|
||||
}
|
||||
|
||||
_newline(removeLast, force) {
|
||||
_newline(removeLast) {
|
||||
// never allow more than two lines
|
||||
if (this.endsWith("\n\n")) return;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user