mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-16 21:06:35 +08:00
fix type hike not hikes
This commit is contained in:
parent
fa566e4762
commit
8d485a1171
2
index.js
2
index.js
@ -7,7 +7,7 @@ var fs = require('fs'),
|
||||
nonprofits = require('./nonprofits.json'),
|
||||
jobs = require('./jobs.json');
|
||||
|
||||
var challangesRegex = /^(bonfire:|waypoint:|zipline:|basejump:|hikes:)/i;
|
||||
var challangesRegex = /^(bonfire:|waypoint:|zipline:|basejump:|hike:)/i;
|
||||
|
||||
function getFilesFor(dir) {
|
||||
return fs.readdirSync(path.join(__dirname, '/' + dir));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user