aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/files.js5
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
3var fs = require('fs'), 3var 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
57function render(view, options) {
58 return ejs.render(fs.readFileSync(view, 'utf8'), options);
59}
60
61function getAbsolutePath(filePath) { 56function getAbsolutePath(filePath) {
62 var absoluteFilePath = path.resolve(gBasePath, filePath); 57 var absoluteFilePath = path.resolve(gBasePath, filePath);
63 58