Skip to content

Commit

Permalink
Merge branch 'main' of github.com:mattjennings/astro-live-code
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjennings committed Feb 26, 2024
2 parents bb7ef08 + c23c948 commit 59f2664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/remark.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function examples(options) {
const i = examples.length

const parentId = toPOSIX(
file.history[0].split(process.cwd())[1].slice(1),
file.history[0].split(toPOSIX(process.cwd()))[1].slice(1),
)
const mdFilename = toPOSIX(
path.basename(parentId, path.extname(parentId)),
Expand Down

0 comments on commit 59f2664

Please sign in to comment.