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:
Tony Trinh authored and Ika committed 2018-06-12 10:56:16 +08:00
1 parent 5646573ad7
commit dcc060a5a5
1 file changed
+1 -1
+1 -1
View File
@@ -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) {