refactor: remove redundant call to normalizeOptions (#4671)
Removes redundant call to `normalizeOptions` (already done in preceding line)
8ec5432768/src/main/core.js (L260-L263)
master
parent
5646573ad7
commit
dcc060a5a5
|
@ -259,7 +259,7 @@ function format(text, opts) {
|
||||||
module.exports = {
|
module.exports = {
|
||||||
formatWithCursor(text, opts) {
|
formatWithCursor(text, opts) {
|
||||||
opts = normalizeOptions(opts);
|
opts = normalizeOptions(opts);
|
||||||
return format(text, normalizeOptions(opts));
|
return format(text, opts);
|
||||||
},
|
},
|
||||||
|
|
||||||
parse(text, opts, massage) {
|
parse(text, opts, massage) {
|
||||||
|
|
Loading…
Reference in New Issue