Skip to content

Commit

Permalink
Merge branch 'main' into fix/internal_root_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
jonluca authored Mar 4, 2024
2 parents d58432b + cebb1f6 commit 50e4a1f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# JSON Schema $Ref Parser

_**This package needs [a new maintainer](https://github.com/APIDevTools/json-schema-ref-parser/issues/285) or at least some contributors. For more information [please read this article](https://phil.tech/2022/bundling-openapi-with-javascript/). As of v10.0.0 I am no longer spending any time working on this tool, so I can focus on scaling up my [reforestation charity](https://protect.earth/) instead of burning myself out trying to maintain a whole load of OSS projects I don't use in my vanishingly small spare time. Get in touch if you'd like to take over.** - [Phil Sturgeon](https://github.com/philsturgeon)_

#### Parse, Resolve, and Dereference JSON Schema $ref pointers

[![Build Status](https://github.com/APIDevTools/json-schema-ref-parser/workflows/CI-CD/badge.svg?branch=master)](https://github.com/APIDevTools/json-schema-ref-parser/actions)
Expand Down
2 changes: 1 addition & 1 deletion lib/util/convert-path-to-posix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export default function convertPathToPosix(filePath: string) {
return filePath;
}

return filePath.split(path.win32.sep).join(path.posix.sep);
return filePath.split(path?.win32?.sep).join(path.posix.sep);
}

0 comments on commit 50e4a1f

Please sign in to comment.