mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-12-27 09:12:09 -05:00
Fixed ESLint
This commit is contained in:
parent
6adbc23acb
commit
c7909fdd86
3 changed files with 5 additions and 5 deletions
|
@ -30,7 +30,7 @@ export type NeoForgeMetadataCustomPayload = {
|
|||
* @returns The custom payload attached to the given metadata.
|
||||
*/
|
||||
export function getNeoForgeMetadataCustomPayload(metadata: RawNeoForgeMetadata): NeoForgeMetadataCustomPayload {
|
||||
return metadata?.[ACTION_NAME] || {}
|
||||
return metadata?.[ACTION_NAME] || {};
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -45,7 +45,7 @@ describe("ForgeMetadata", () => {
|
|||
});
|
||||
|
||||
describe("loaders", () => {
|
||||
test(`returns 'forge' by default`, () => {
|
||||
test("returns 'forge' by default", () => {
|
||||
const rawWithoutLoadersField = {
|
||||
...RAW_METADATA,
|
||||
"mc-publish": {
|
||||
|
@ -122,7 +122,7 @@ describe("ForgeMetadata", () => {
|
|||
}
|
||||
});
|
||||
|
||||
test(`special dependencies ('forge', 'minecraft', 'java') are ignored by default`, () => {
|
||||
test("special dependencies ('forge', 'minecraft', 'java') are ignored by default", () => {
|
||||
const metadata = ForgeMetadata.from(RAW_METADATA);
|
||||
|
||||
const dependencies = metadata.dependencies;
|
||||
|
|
|
@ -45,7 +45,7 @@ describe("NeoForgeMetadata", () => {
|
|||
});
|
||||
|
||||
describe("loaders", () => {
|
||||
test(`returns 'neoforge' by default`, () => {
|
||||
test("returns 'neoforge' by default", () => {
|
||||
const rawWithoutLoadersField = {
|
||||
...RAW_METADATA,
|
||||
"mc-publish": {
|
||||
|
@ -122,7 +122,7 @@ describe("NeoForgeMetadata", () => {
|
|||
}
|
||||
});
|
||||
|
||||
test(`special dependencies ('neoforge', 'minecraft', 'java') are ignored by default`, () => {
|
||||
test("special dependencies ('neoforge', 'minecraft', 'java') are ignored by default", () => {
|
||||
const metadata = NeoForgeMetadata.from(RAW_METADATA);
|
||||
|
||||
const dependencies = metadata.dependencies;
|
||||
|
|
Loading…
Reference in a new issue