mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 18:13:58 +08:00
Make eslint happy.
This commit is contained in:
parent
f32d8e2882
commit
e9927ce5b1
|
@ -536,7 +536,7 @@ export default Ember.Component.extend({
|
|||
|
||||
formatCode() {
|
||||
const sel = this._getSelected();
|
||||
const hasNewLine = sel.value.indexOf("\n") !== -1
|
||||
const hasNewLine = sel.value.indexOf("\n") !== -1;
|
||||
|
||||
if (this.siteSettings.code_formatting_style === FOUR_SPACES_INDENT) {
|
||||
return (hasNewLine ?
|
||||
|
|
Loading…
Reference in New Issue
Block a user