Skip to content

Commit

Permalink
Add random single digit to end of generated password for .env file us…
Browse files Browse the repository at this point in the history
…ed for setup (#11934)
  • Loading branch information
standeren authored Jan 3, 2024
1 parent ed6bdfa commit 8e95606
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions development/utils/ensure-dot-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ const fs = require('fs');
const os = require('os');
const getCommit = require('./git-commit-hash');
const randomPass = () =>
[Math.random().toString(36).substring(2, 5), Math.random().toString(36).substring(2, 5)].join(
'DIG@',
);
[Math.random().toString(36).substring(2, 5), Math.random().toString(36).substring(2, 5)]
.join('DIG@')
.concat(Math.floor(Math.random() * 10).toString());

const defaultEnvVars = {
CYPRESS_TEST_APP: 'autodeploy-v3',
Expand Down

0 comments on commit 8e95606

Please sign in to comment.