Skip to content

Commit

Permalink
refactor(swig): replace swig by swig-templates
Browse files Browse the repository at this point in the history
Fixes #2939
Fixes #2919
  • Loading branch information
JLHwung committed Jan 7, 2018
1 parent f19629e commit db1bb1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/plugins/renderer/swig.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

var swig = require('swig');
var swig = require('swig-templates');
var extras = require('swig-extras');
var forTag = require('swig/lib/tags/for');
var forTag = require('swig-templates/lib/tags/for');

extras.useTag(swig, 'markdown');
extras.useTag(swig, 'switch');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"nunjucks": "^3.0.1",
"pretty-hrtime": "^1.0.2",
"strip-indent": "^1.0.1",
"swig": "1.4.2",
"swig-extras": "0.0.1",
"swig-templates": "^2.0.2",
"text-table": "^0.2.0",
"tildify": "^1.2.0",
"titlecase": "^1.1.2",
Expand Down

0 comments on commit db1bb1e

Please sign in to comment.