Skip to content

Commit

Permalink
remove log, spell correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Lord committed Oct 13, 2014
1 parent 67daa4a commit 41966ae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions guide/buildpages.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var lang = process.argv[2]
// I can probably use glob better to avoid
// finding the right files within the files
var rawFiles = __dirname + (lang ? '/raw-content-' + lang + '/' : '/raw-content/')
var builtContent = __dirname + (lang ? '/chalenges-' + lang + '/' : '/challenges/')
var builtContent = __dirname + (lang ? '/challenges-' + lang + '/' : '/challenges/')
console.log(rawFiles, builtContent)

glob("*.html", {cwd: rawFiles}, function (err, files) {
Expand Down Expand Up @@ -83,8 +83,6 @@ function buildFooter(file) {
data.lang = lang ? '-' + lang : ''
var source = fs.readFileSync(__dirname + '/partials/footer.html').toString()
var template = Handlebars.compile(source)
// console.log(data)
// console.log(template(data))
return template(data)
}

Expand Down

0 comments on commit 41966ae

Please sign in to comment.