mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-06 21:10:38 +00:00
code: Update code style, remove else
This commit is contained in:
parent
e8414291b4
commit
22559a838c
@ -48,9 +48,8 @@ export default class WebpackBaseConfig {
|
||||
|
||||
if (typeof fileName === 'function') {
|
||||
return name => this.normalizeFileName(fileName(name))
|
||||
} else {
|
||||
return this.normalizeFileName(fileName)
|
||||
}
|
||||
return this.normalizeFileName(fileName)
|
||||
}
|
||||
|
||||
normalizeFileName(fileName) {
|
||||
|
Loading…
Reference in New Issue
Block a user