Skip to content

Commit bf1bc7a

Browse files
committed
style: fix
1 parent decee4a commit bf1bc7a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/lib/ruby-to-blocks-converter/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,9 @@ class RubyToBlocksConverter {
200200
error = this._toErrorAnnotation(loc.$line(), loc.$column(), e.message, this._getSource(e.node));
201201
} else if (this._context.currentNode) {
202202
const loc = this._context.currentNode.$loc();
203-
error = this._toErrorAnnotation(loc.$line(), loc.$column(), e.message, this._getSource(this._context.currentNode));
203+
error = this._toErrorAnnotation(
204+
loc.$line(), loc.$column(), e.message, this._getSource(this._context.currentNode)
205+
);
204206
} else {
205207
error = this._toErrorAnnotation(1, 0, e.message);
206208
}

src/reducers/ruby-code.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ const updateRubyCodeErrors = function (errors) {
9292
startCol: x.column,
9393
endRow: x.row,
9494
endCol: (x.source ? x.column + x.source.length : 9999),
95-
type: "text",
96-
className: "ruby-error"
95+
type: 'text',
96+
className: 'ruby-error'
9797
}));
9898
return {
9999
type: UPDATE_RUBYCODE_ERRORS,

0 commit comments

Comments
 (0)