Skip to content

Commit

Permalink
Fix wrong versioned_docs file path (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnylqm authored and JoelMarcey committed Mar 13, 2018
1 parent 7c06516 commit 4a4fea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function execute(port) {
if (env.translation.enabled && metadata.language !== 'en') {
file = join(CWD, 'translated_docs', metadata.language, metadata.source);
} else {
file = join(CWD, 'versioned_docs' + metadata.source);
file = join(CWD, 'versioned_docs', metadata.source);
}
} else {
if (!env.translation.enabled || metadata.language === 'en') {
Expand Down

0 comments on commit 4a4fea7

Please sign in to comment.