-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modrinth: more info in error when dependency has no applicable files (#…
…489)
- Loading branch information
Showing
5 changed files
with
136 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
src/main/java/me/itzg/helpers/modrinth/model/ProjectType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
package me.itzg.helpers.modrinth.model; | ||
|
||
public enum ProjectType { | ||
mod, | ||
modpack | ||
mod, | ||
modpack, | ||
resourcepack, | ||
} |
21 changes: 21 additions & 0 deletions
21
src/main/java/me/itzg/helpers/singles/TestLoggingCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package me.itzg.helpers.singles; | ||
|
||
import lombok.extern.slf4j.Slf4j; | ||
import picocli.CommandLine.Command; | ||
import picocli.CommandLine.ExitCode; | ||
|
||
import java.util.concurrent.Callable; | ||
|
||
@Command(name = "test-logging-levels") | ||
@Slf4j | ||
public class TestLoggingCommand implements Callable<Integer> { | ||
|
||
@Override | ||
public Integer call() throws Exception { | ||
log.error("This is an error"); | ||
log.warn("This is a warning"); | ||
log.info("This is an info"); | ||
log.debug("This is a debug"); | ||
return ExitCode.OK; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters