diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/files.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/files.js b/src/files.js index c725e4b..3b28d3f 100644 --- a/src/files.js +++ b/src/files.js | |||
@@ -2,7 +2,6 @@ | |||
2 | 2 | ||
3 | var fs = require('fs'), | 3 | var fs = require('fs'), |
4 | path = require('path'), | 4 | path = require('path'), |
5 | ejs = require('ejs'), | ||
6 | rm = require('del'), | 5 | rm = require('del'), |
7 | debug = require('debug')('files'), | 6 | debug = require('debug')('files'), |
8 | mkdirp = require('mkdirp'), | 7 | mkdirp = require('mkdirp'), |
@@ -54,10 +53,6 @@ function copyFile(source, target, cb) { | |||
54 | }); | 53 | }); |
55 | } | 54 | } |
56 | 55 | ||
57 | function render(view, options) { | ||
58 | return ejs.render(fs.readFileSync(view, 'utf8'), options); | ||
59 | } | ||
60 | |||
61 | function getAbsolutePath(filePath) { | 56 | function getAbsolutePath(filePath) { |
62 | var absoluteFilePath = path.resolve(gBasePath, filePath); | 57 | var absoluteFilePath = path.resolve(gBasePath, filePath); |
63 | 58 | ||