asArray should accept env-variable also with one element
See original GitHub issueCurrent behaviour:
"value"
- throws error because of missing delimiter (bad)
"value,"
- returns ["value,"]
(bad)
Expected result for both cases should be ["value"]
. That can be fixed by removing lines 8-10.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Defining an array as an environment variable in node.js
Short answer: You cannot. Long answer: .env variables are strings So something like. BOOLEAN = true. will be treated as
Read more >linux - Unable to use an Array as environment variable
A bash array can not be an environment variable as environment variables may only be key-value string pairs. You may do as the...
Read more >PowerShell Variables and Arrays - Netwrix Blog
In this article, we will move on to variables and arrays, including what they are and how we can create, remove and change...
Read more >ASP.NET Core Web Host | Microsoft Learn
Create a host using an instance of IWebHostBuilder. This is typically performed in the app's entry point, the Main method in Program.cs ....
Read more >Python NumPy Array Tutorial - DataCamp
Learn how to create a NumPy array, use broadcasting, access values, manipulate arrays, and much more in this Python NumPy tutorial.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Released in 5.0.0, thank you! 😄
@evanshortiss Since PR is merged we can close?