Remove unnecessary ensureSemicolon.
This commit is contained in:
@@ -101,14 +101,6 @@ export default class Buffer {
|
||||
this.push(";");
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensure last character is a semicolon.
|
||||
*/
|
||||
|
||||
ensureSemicolon() {
|
||||
if (!this.isLast(";")) this.semicolon();
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a right brace to the buffer.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user