Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Jun 7, 2018
1 parent 46fd07e commit a070d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/templated-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ const fs = require('../lib/sync-fs');
const fromFile = (projectDir, rootFile) => fromString(projectDir, fs.read(rootFile));
const fromString = (projectDir, rootText) =>
rootText.replace(/__include_inline__\('\s*([^_]*)'\s*\);/g, (_, includedFile) =>
fs.read(`${projectDir}/${includedFile}`));
fs.read(`${projectDir}/${includedFile}`));

module.exports = { fromFile, fromString };

0 comments on commit a070d15

Please sign in to comment.