mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-22 20:38:55 -05:00
chore: lint files
This commit is contained in:
@@ -84,13 +84,13 @@ module.exports = function (input) {
|
||||
|
||||
const del = function (line) {
|
||||
if (!current) return
|
||||
current.changes.push({type: 'del', del: true, ln: lnDel++, content: line})
|
||||
current.changes.push({ type: 'del', del: true, ln: lnDel++, content: line })
|
||||
file.deletions++
|
||||
}
|
||||
|
||||
const add = function (line) {
|
||||
if (!current) return
|
||||
current.changes.push({type: 'add', add: true, ln: lnAdd++, content: line})
|
||||
current.changes.push({ type: 'add', add: true, ln: lnAdd++, content: line })
|
||||
file.additions++
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user