Skip to content

Commit 1ae5e01

Browse files
committed
style: after lint
1 parent 7fd206a commit 1ae5e01

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,9 @@ function walk (opts, nodes) {
202202
}
203203

204204
// if key is parametr
205-
const _key = placeholders(key, ctx, delimitersSettings);
205+
const _key = placeholders(key, ctx, delimitersSettings)
206206
if (key !== _key) {
207-
node.attrs[_key] = node.attrs[key];
207+
node.attrs[_key] = node.attrs[key]
208208
delete node.attrs[key]
209209
}
210210
}

test/test-core.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,15 @@ test('Boolean attribute', (t) => {
9191
})
9292

9393
test('Attribute as param', (t) => {
94-
return process(t, 'attr_param', null, false, [beautify(), expressions({locals: { param: 'checked' }})])
94+
return process(t, 'attr_param', null, false, [beautify(), expressions({ locals: { param: 'checked' } })])
9595
})
9696

9797
test('Directives options', (t) => {
9898
return process(t, 'directives', null, false, [expressions()], {
9999
directives: [{
100100
name: '?php',
101101
start: '<',
102-
end: '>',
102+
end: '>'
103103
}]
104104
})
105105
})

0 commit comments

Comments
 (0)