-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix reading env vars for JS and WASM JS (only NodeJS) (#335)
While working on #332, I found out that the implementations for JS and WASM JS are missing. This PR focuses on adding them. I don't want to add these in the PR that is related solely to kotlinizing and commonizing the tests to give this fix a proper visibility in the release notes. This change was tested within #332, and the goal is to merge that PR soon after this one lands. Note: env vars work only in a non-browser environment.
- Loading branch information
Showing
3 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
6 changes: 0 additions & 6 deletions
6
src/jsCommonMain/kotlin/it/krzeminski/snakeyaml/engine/kmp/internal/system.js.kt
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
src/jsMain/kotlin/it/krzeminski/snakeyaml/engine/kmp/internal/system.js.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
src/wasmJsMain/kotlin/it/krzeminski/snakeyaml/engine/kmp/internal/system.wasm.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters