Skip to content

Commit

Permalink
Replace call to lodash in preprocessor
Browse files Browse the repository at this point in the history
  • Loading branch information
nknapp committed Mar 25, 2017
1 parent 59375f0 commit 5d7fe7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handlebars/preprocessor.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
var qfs = require('m-io/fs')
var _ = require('lodash')
var path = require('path')
// var Q = require('q')
var deep = require('q-deep')
Expand All @@ -12,7 +11,8 @@ var debug = require('debug')('thought:preprocessor')
* @returns {*}
*/
module.exports = function (data) {
data = _.cloneDeep(data)
// shallow clone
data = Object.assign({}, data)

// Detect license file and read contents
debug('workingdir', data.workingDir)
Expand Down

0 comments on commit 5d7fe7c

Please sign in to comment.