Skip to content

Commit

Permalink
remove dotenv from commands
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdip-b committed Feb 22, 2024
1 parent aef9e27 commit 2c84ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"build:web": "turbo run build --filter=web",
"build:workspace": "turbo run build --filter=workspace",
"test": "turbo run test",
"test:api": "turbo run test --no-cache --filter=api -- --config=jest.config.ts",
"test:api": "pnpm db:generate-types && turbo run test --no-cache --filter=api -- --config=jest.config.ts",
"e2e:api:prepare": "docker compose down && docker compose -f docker-compose-test.yml up -d && NODE_ENV='e2e' DATABASE_URL='postgresql://prisma:prisma@localhost:5432/tests' pnpm run db:deploy-migrations",
"e2e:api": "pnpm run e2e:api:prepare && NODE_ENV='e2e' DATABASE_URL='postgresql://prisma:prisma@localhost:5432/tests' turbo run test:e2e --no-cache -- --coverage --coverageDirectory=coverage-e2e/api --coverageReporters=json && pnpm run e2e:api:teardown",

Check failure

Code scanning / SonarCloud

PostgreSQL database passwords should not be disclosed High

Make sure this PostgreSQL database password gets changed and removed from the code. See more on SonarCloud
"e2e:api:teardown": "docker compose -f docker-compose-test.yml down",
Expand Down

0 comments on commit 2c84ac0

Please sign in to comment.