Skip to content

Commit

Permalink
fix validation script
Browse files Browse the repository at this point in the history
  • Loading branch information
Starman3787 committed Dec 21, 2024
1 parent 615695c commit 6ec55f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/validate-slash_commands.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { readFileSync, existsSync, readdirSync } from "fs";
import { join } from "path";
import { locales } from "../../index.js";
import { locales } from "../../dist/index.js";

const baseDirectory = "./bot";

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
- uses: actions/checkout@v2

- name: Validate Slash Command files
run: node .github/scripts/validate-slash_commands.js
run: npm run build && node .github/scripts/validate-slash_commands.js

0 comments on commit 6ec55f5

Please sign in to comment.