Skip to content

Commit

Permalink
Use posix separator
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Jul 8, 2023
1 parent 715fd0c commit 14b64d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/antora-adapter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const ospath = require('path')
const ospath = require('path').posix

module.exports = (file, contentCatalog, vfs) => {
let baseReadFn
Expand Down
2 changes: 1 addition & 1 deletion src/fetch.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const rusha = require('rusha')
const path = require('path')
const path = require('path').posix

const getImagesOutputDirectory = (doc) => {
const imagesOutputDir = doc.getAttribute('imagesoutdir')
Expand Down
2 changes: 1 addition & 1 deletion src/preprocess.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-check
// The previous line must be the first non-comment line in the file to enable TypeScript checks:
// https://www.typescriptlang.org/docs/handbook/intro-to-js-ts.html#ts-check
const path = require('path')
const path = require('path').posix

/**
* @param {string} diagramText
Expand Down

0 comments on commit 14b64d3

Please sign in to comment.