Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
tdegrunt committed Sep 29, 2014
1 parent 28de490 commit a188b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Precompiler.prototype.write = function (readTree, destDir) {

inputFiles.forEach(function(inputFile) {
var inputFilePath = path.join(languageDir, inputFile);
var valuePath = inputFile.substring(0,inputFile.indexOf('.json')).replace('/','.');
var valuePath = inputFile.substring(0,inputFile.indexOf('.json')).replace(/\//g,'.');

var content = fs.readFileSync(inputFilePath, {encoding: 'utf8'});

Expand Down

0 comments on commit a188b49

Please sign in to comment.