Skip to content

Commit

Permalink
Fix scripts directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Nelson committed Oct 15, 2020
1 parent 81b8899 commit 1f68300
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@spectacles/gateway": "^0.10.0",
"@types/backoff": "^2.5.1",
"@types/ioredis": "^3.2.7",
"@types/node": "^9.4.6",
"@types/node": "^14.11.8",
"@types/ws": "^4.0.1",
"env-cmd": "^8.0.2",
"rimraf": "^3.0.2",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/QueueStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class QueueStore extends Map<string, Queue> {
for (const command of commands) {
this.redis.defineCommand(command.name, {
numberOfKeys: command.keys,
lua: fs.readFileSync(path.resolve(__dirname, 'scripts', `${command.name}.lua`)).toString(),
lua: fs.readFileSync(path.resolve(__dirname, '..', 'scripts', `${command.name}.lua`)).toString(),
});
}
}
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.11.2.tgz#2de1ed6670439387da1c9f549a2ade2b0a799256"
integrity sha512-jiE3QIxJ8JLNcb1Ps6rDbysDhN4xa8DJJvuC9prr6w+1tIh+QAbYyNF3tyiZNLDBIuBCf4KEcV2UvQm/V60xfA==

"@types/node@^9.4.6":
version "9.6.59"
resolved "https://registry.yarnpkg.com/@types/node/-/node-9.6.59.tgz#76eabeeb8d87ce05e232e5680feaef38ee9eae90"
integrity sha512-TX/dHK9lFrXoMFtHdF3oyEw6EpfYfu+8AZ1zP6Oj3rOiQGbit2rgQlJzvBRx712b9ReaCfkSNPRXYzZDYI4YSw==
"@types/node@^14.11.8":
version "14.11.8"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.11.8.tgz#fe2012f2355e4ce08bca44aeb3abbb21cf88d33f"
integrity sha512-KPcKqKm5UKDkaYPTuXSx8wEP7vE9GnuaXIZKijwRYcePpZFDVuy2a57LarFKiORbHOuTOOwYzxVxcUzsh2P2Pw==

"@types/ws@^4.0.1":
version "4.0.2"
Expand Down

0 comments on commit 1f68300

Please sign in to comment.