-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Apply review comments generated by coderabbitai ^_^
- Loading branch information
Showing
5 changed files
with
386 additions
and
400 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
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
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 |
---|---|---|
|
@@ -79,9 +79,7 @@ describe('Envilder CLI', () => { | |
const mockMapPath = './tests/param_map.json'; | ||
const mockEnvFilePath = './tests/.env.test'; | ||
|
||
const existingEnvContent = ` | ||
EXISTING_VAR=existingValue | ||
`; | ||
const existingEnvContent = 'EXISTING_VAR=existingValue'; | ||
fs.writeFileSync(mockEnvFilePath, existingEnvContent); | ||
const paramMapContent = { | ||
NEXT_PUBLIC_CREDENTIAL_EMAIL: '/path/to/ssm/email', | ||
|
@@ -105,9 +103,7 @@ describe('Envilder CLI', () => { | |
// Arrange | ||
const mockMapPath = './tests/param_map.json'; | ||
const mockEnvFilePath = './tests/.env.test'; | ||
const existingEnvContent = ` | ||
[email protected] | ||
`; | ||
const existingEnvContent = '[email protected]'; | ||
fs.writeFileSync(mockEnvFilePath, existingEnvContent); | ||
const paramMapContent = { | ||
NEXT_PUBLIC_CREDENTIAL_EMAIL: '/path/to/ssm/email', | ||
|
Oops, something went wrong.