-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(config): use env vars in config files (#344)
* Bulk insert of failed receipts * query macro * sqlx bulk insert after running compiling codes * sqlx bulk insert after running compiling codes * added error logs * minor changes * upgrade in reading config file * added unit tests for substitute_env_vars function * Added new edge cases for the test, Also changed return type to String from Result<String, String> * removed map_err * added missing env vars * added new test, changed substitute_env_vars function
- Loading branch information
1 parent
00af506
commit 1db3adb
Showing
5 changed files
with
157 additions
and
23 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ target/ | |
.gitignore | ||
.github/ | ||
.vscode/ | ||
.env |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/target/ | ||
.envrc | ||
indexer.toml | ||
.env | ||
# These are backup files generated by rustfmt | ||
**/*.rs.bk | ||
**/*.idea | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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