Skip to content

Commit f457819

Browse files
committed
chore: format code with the new prettier version
1 parent 59a01bb commit f457819

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

Diff for: lib/compileTemplate.ts

+3-9
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,10 @@ export function compileTemplate(
5050
code: `var render = function () {}\n` + `var staticRenderFns = []\n`,
5151
source: options.source,
5252
tips: [
53-
`Component ${
54-
options.filename
55-
} uses lang ${preprocessLang} for template. Please install the language preprocessor.`
53+
`Component ${options.filename} uses lang ${preprocessLang} for template. Please install the language preprocessor.`
5654
],
5755
errors: [
58-
`Component ${
59-
options.filename
60-
} uses lang ${preprocessLang} for template, however it is not installed.`
56+
`Component ${options.filename} uses lang ${preprocessLang} for template, however it is not installed.`
6157
]
6258
}
6359
} else {
@@ -177,9 +173,7 @@ function actuallyCompile(
177173
})
178174
} catch (e) {
179175
tips.push(
180-
`Failed to prettify component ${
181-
options.filename
182-
} template source after compilation.`
176+
`Failed to prettify component ${options.filename} template source after compilation.`
183177
)
184178
}
185179
}

0 commit comments

Comments
 (0)