We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
the @std/dotenv library can't handle multi line variable correctly, it only return the first line of the string.
@std/dotenv
Steps to Reproduce
.env
KEY="one line string second line string"
main.ts
import { load } from "@std/dotenv"; await load({ export: true }); console.log(Deno.env.get("KEY"));
deno run -A main.ts get output one line string
deno run -A main.ts
one line string
But if don't use @std/dotenv, only deno run -A --env-file main.ts main.ts
deno run -A --env-file main.ts
console.log(Deno.env.get("KEY"));
will get correct output one line string\nsecond line string
one line string\nsecond line string
Expected behavior
get multiline output one line string\nsecond line string while use @std/dotenv
Environment
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
the
@std/dotenv
library can't handle multi line variable correctly, it only return the first line of the string.Steps to Reproduce
.env
main.ts
deno run -A main.ts
get outputone line string
But if don't use
@std/dotenv
, onlydeno run -A --env-file main.ts
main.ts
will get correct output
one line string\nsecond line string
Expected behavior
get multiline output
one line string\nsecond line string
while use@std/dotenv
Environment
The text was updated successfully, but these errors were encountered: