Skip to content

Commit 76b3456

Browse files
semicolons 😄
1 parent d709e91 commit 76b3456

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/extend/tag.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,12 @@ NunjucksAsyncBlock.prototype.run = function(context, args, body, callback) {
184184
body((err, result) => {
185185
// wrapper for trimBody expecting
186186
// body to be a function
187-
body = () => result || ''
187+
body = () => result || '';
188188

189189
this._run(context, args, trimBody(body)).then(function(result) {
190190
callback(err, result);
191191
});
192-
})
192+
});
193193
};
194194

195195
module.exports = Tag;

test/scripts/extend/tag.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ describe('Tag', () => {
8686

8787
tag.register('test', (args, content) => content, {ends: true, async: true});
8888
tag.register('async', (args, content) => {
89-
return Promise.resolve(args.join(' ') + ' ' + content)
89+
return Promise.resolve(args.join(' ') + ' ' + content);
9090
}, {ends: true, async: true});
9191

9292
var str = [

0 commit comments

Comments
 (0)