Skip to content

Commit d7c2310

Browse files
committed
chore(build): fixing documentation example resolution
1 parent 6a7d053 commit d7c2310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/metalsmith/plugins/inject-examples.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ module.exports = function plugin(/*options*/) {
7070
const data = metalsmith.metadata();
7171
const examples = {};
7272
data.Examples.forEach(function(file) {
73-
const key = path.join(file.path.href, file.path.base);
73+
const key = file.path.href
7474
examples[key] = cheerio.load(file.contents);
7575
});
7676

0 commit comments

Comments
 (0)