Skip to content

Commit

Permalink
build: 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
koistya committed Oct 31, 2023
1 parent ef4b912 commit 4f005e9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
[![Donate](https://img.shields.io/badge/dynamic/json?color=%23ff424d&label=Patreon&style=flat-square&query=data.attributes.patron_count&suffix=%20patrons&url=https%3A%2F%2Fwww.patreon.com%2Fapi%2Fcampaigns%2F233228)](http://patreon.com/koistya)
[![Discord](https://img.shields.io/discord/643523529131950086?label=Chat&style=flat-square)](https://discord.gg/bSsv7XM)

<img src="https://raw.githubusercontent.com/motdotla/dotenv/master/dotenv.png" alt="dotenv" align="right" />

Loads environment variables for the target environment from `.env` files using [dotenv](https://github.com/motdotla/dotenv); supports cloud secret providers such as [Google Secret Manager](https://cloud.google.com/secret-manager).

By default it attempts to load `.env` files from the current working directory using the following naming convention ([learn more](https://vitejs.dev/guide/env-and-mode.html#env-files)):
Expand Down
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,6 @@ export async function loadEnv(environment, options) {
);
assign(key, value);
}

assign(key, value);
} else {
assign(key, value);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "envars",
"version": "1.0.1",
"version": "1.0.2",
"packageManager": "yarn@4.0.0-rc.53",
"description": "Load environment variables from .env files. Decode secret values from AWS Secrets Manager, Google Secret Manager, and other sources.",
"keywords": [
Expand Down

0 comments on commit 4f005e9

Please sign in to comment.