Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion website/docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ const port =
? 7005
: parseInt(process.env.PORT);

const repos = new Git(join(__dirname, '../repo'), {
// before running server, create repo directory on the project path
// does not working '__dirname' in ES6 module
const repos = new Git(process.cwd() + '/repo'), {
autoCreate: true,
});

Expand Down