Skip to content

Commit a378ad4

Browse files
authored
[core] Sidestep existing .env from being overwritten (#1770)
Following docker instructions blindly currently wipes .env if it's already configure
1 parent 8f867e0 commit a378ad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/auth/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export function ReportGeneratedValue() {
142142
'Save these values to your environment (.env or WAHA_*) to reuse them; new keys are generated on every start otherwise.',
143143
);
144144
console.warn('');
145-
console.warn("cat <<'EOF' > .env");
145+
console.warn("cat <<'EOF' >> .env");
146146
console.warn('');
147147
for (const key of values) {
148148
console.warn(`${key.param}=${key.value}`);

0 commit comments

Comments
 (0)