Skip to content
This repository was archived by the owner on Aug 28, 2020. It is now read-only.

Commit

Permalink
Chore(deps-dev): Bump @klasa/core from ac7dd7c to 7f41f61 (#1064)
Browse files Browse the repository at this point in the history
* Chore(deps-dev): Bump @klasa/core from `ac7dd7c` to `7f41f61`

Bumps [@klasa/core](https://github.com/dirigeants/core) from `ac7dd7c` to `7f41f61`.
- [Release notes](https://github.com/dirigeants/core/releases)
- [Commits](dirigeants/core@ac7dd7c...7f41f61)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* fix usage of klasa/core

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: bdistin <[email protected]>
  • Loading branch information
dependabot-preview[bot] and bdistin authored Jun 24, 2020
1 parent e6c4cab commit dcc7310
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/serializers/piece.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class CoreSerializer extends Serializer {
public async validate(data: string | Piece, { entry, language }: SerializerUpdateContext): Promise<Piece> {
const store = this.client[`${entry.type}s` as 'languages' | 'commands'];
const parsed = typeof data === 'string' ? store.get(data) : data;
if (parsed && parsed instanceof store.holds) return parsed;
if (parsed && parsed instanceof store.Holds) return parsed;
throw language.get('RESOLVER_INVALID_PIECE', entry.key, entry.type);
}

Expand Down
2 changes: 1 addition & 1 deletion test/ProviderStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ava('ProviderStore Properties', (test): void => {
// Test the store's properties
test.true(providers instanceof ProviderStore);
test.is(providers.client, test.context.client);
test.is(providers.holds, Provider);
test.is(providers.Holds, Provider);
test.is(providers.name, 'providers');

// Mock provider from tests
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@

"@klasa/core@dirigeants/core#build":
version "0.0.3"
uid ac7dd7cd64720804aa9bb0b46079c080d978e813
resolved "https://codeload.github.com/dirigeants/core/tar.gz/ac7dd7cd64720804aa9bb0b46079c080d978e813"
uid "7f41f61341f8486067d5ad478ed45c3db91e44b1"
resolved "https://codeload.github.com/dirigeants/core/tar.gz/7f41f61341f8486067d5ad478ed45c3db91e44b1"
dependencies:
"@klasa/bitfield" "^0.0.3"
"@klasa/cache" "^0.0.3"
Expand Down

0 comments on commit dcc7310

Please sign in to comment.