refactor: remove redundant call to normalizeOptions (#4671)
Removes redundant call to `normalizeOptions` (already done in preceding line) https://github.com/prettier/prettier/blob/8ec543276838f66f0a84824a39c215a3039e9071/src/main/core.js#L260-L263
This commit is contained in:
1 parent
5646573ad7
commit
dcc060a5a5
1 file changed
+1
-1
+1
-1
@@ -259,7 +259,7 @@ function format(text, opts) {
|
||||
module.exports = {
|
||||
formatWithCursor(text, opts) {
|
||||
opts = normalizeOptions(opts);
|
||||
return format(text, normalizeOptions(opts));
|
||||
return format(text, opts);
|
||||
},
|
||||
|
||||
parse(text, opts, massage) {
|
||||
|
||||
Reference in new issue
Block a user