alpha
Login
or
Join now
ewancroft.uk
/
bluesky-awoo-bot
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
properly exit script
author
Ewan Croft
date
2 years ago
(May 28, 2024, 8:15 PM +0100)
commit
346a339b
346a339bbbedfe9eddb2d0a2f0e82075f9c54e07
parent
01a5ae70
01a5ae705e7a3773dda2ade1124a8289e19b024a
+2
-2
1 changed file
Expand all
Collapse all
Unified
Split
src
index.ts
+2
-2
src/index.ts
Reviewed
···
48
48
// Check for empty environment variables and abort if needed
49
49
if (!process.env.BLUESKY_USERNAME || !process.env.BLUESKY_PASSWORD) {
50
50
console.error(
51
51
-
"Missing required environment variables: BLUESKY_USERNAME and BLUESKY_PASSWORD. Aborting script."
51
51
+
"Missing required environment variables: BLUESKY_USERNAME and BLUESKY_PASSWORD.\nAborting script."
52
52
);
53
53
-
return;
53
53
+
process.exit(1);
54
54
}
55
55
56
56
console.log("Environment variables loaded successfully.");