Skip to content

Commit e5cf1a2

Browse files
zhouxinyongzhouxinyong[周新勇]
and
zhouxinyong[周新勇]
authored
docs(zh): change line to lines in plugin-dev.md (#5671)
Co-authored-by: zhouxinyong[周新勇] <[email protected]>
1 parent d1a4248 commit e5cf1a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zh/dev-guide/plugin-dev.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ module.exports.hooks = (api) => {
288288
const renderIndex = lines.findIndex(line => line.match(/render/))
289289
lines[renderIndex] += `${EOL} router,`
290290
291-
fs.writeFileSync(api.entryFile, line.join(EOL), { encoding: 'utf-8' })
291+
fs.writeFileSync(api.entryFile, lines.join(EOL), { encoding: 'utf-8' })
292292
})
293293
}
294294
```

0 commit comments

Comments
 (0)