Skip to content

Commit

Permalink
chore: linting fixed and cleaned
Browse files Browse the repository at this point in the history
  • Loading branch information
densellp committed Oct 18, 2023
1 parent 3a95b2a commit 3c5f872
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 34 deletions.
6 changes: 3 additions & 3 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ webserver.get("/health", async (req, res) => {
const slack_auth_status = await app.client.auth.test();
if (slack_auth_status.ok) {
status_checks.slack_auth = "OK";

}
} catch (e) {
status_checks.slack_auth = e.message;
Expand Down Expand Up @@ -99,8 +98,9 @@ app.command(slashCommand, async ({ command, ack, respond }) => {
/// ////////////////////////////////////////////////////////////

// Parse Command Function
function parseCommand (command) {
const parsed = { // Default values for each parameter
function parseCommand(command) {
const parsed = {
// Default values for each parameter
valid: false, // indicates if a command is valid
command: "", // holds the type of command
user: "", // holds the value for the user that will be targeted
Expand Down
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ config.usersDeduction = process.env.USERS_DEDUCTION?.split(",") || [
"U02KPMFA9DG", // Smith
];

module.exports = config;
module.exports = config;
60 changes: 30 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3c5f872

Please sign in to comment.