Skip to content

Commit

Permalink
Updating API to default to problems dir
Browse files Browse the repository at this point in the history
  • Loading branch information
davearel committed Mar 22, 2014
1 parent 17aa56e commit 03269a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workshopper.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function Workshopper (options) {
throw new TypeError('need to provide a `title` String option')

if (typeof options.exerciseDir != 'string')
throw new TypeError('need to provide an "exerciseDir" String option')
options.exerciseDir = path.join(options.appDir, 'problems')

stat = fs.statSync(options.exerciseDir)
if (!stat || !stat.isDirectory())
Expand Down

0 comments on commit 03269a7

Please sign in to comment.