diff --git a/.forgejo/workflows/production.yml b/.forgejo/workflows/production.yml index 157fe8d..19ce662 100644 --- a/.forgejo/workflows/production.yml +++ b/.forgejo/workflows/production.yml @@ -20,6 +20,7 @@ jobs: - run: yarn install --frozen-lockfile - run: yarn build - run: yarn test + - run: yarn lint - name: "Copy files over to location" run: cp -r . ${{ secrets.PROD_REPO_PATH }} diff --git a/.forgejo/workflows/stage.yml b/.forgejo/workflows/stage.yml index 638f2e0..37ff5ea 100644 --- a/.forgejo/workflows/stage.yml +++ b/.forgejo/workflows/stage.yml @@ -20,6 +20,7 @@ jobs: - run: yarn install --frozen-lockfile - run: yarn build - run: yarn test + - run: yarn lint - name: "Copy files over to location" run: cp -r . ${{ secrets.STAGE_REPO_PATH }} diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 5cee253..b2de547 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -21,4 +21,5 @@ jobs: node-version: 18.x - run: yarn install --frozen-lockfile - run: yarn build - - run: yarn test \ No newline at end of file + - run: yarn test + - run: yarn lint \ No newline at end of file diff --git a/src/commands/balance.ts b/src/commands/balance.ts index 2dcba50..c8f087c 100644 --- a/src/commands/balance.ts +++ b/src/commands/balance.ts @@ -8,14 +8,14 @@ export default class Balance extends Command { super(); this.CommandBuilder = new SlashCommandBuilder() - .setName("balance") - .setDescription("Get your currency balance"); + .setName("balance") + .setDescription("Get your currency balance"); } public override async execute(interaction: CommandInteraction) { const user = await User.FetchOneById(User, interaction.user.id); - let userBalance = user != null ? user.Currency : 0; + const userBalance = user != null ? user.Currency : 0; const embed = new EmbedBuilder() .setColor(EmbedColours.Ok)