Skip to content

Commit 9d015e5

Browse files
committed
Rename version file to prevent potential conflicts with other version files.
1 parent 58a633f commit 9d015e5

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

common/src/main/java/dev/lavalink/youtube/YoutubeSource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class YoutubeSource {
77
public static String VERSION = "Unknown";
88

99
static {
10-
try (InputStream versionStream = YoutubeSource.class.getResourceAsStream("/version.txt")) {
10+
try (InputStream versionStream = YoutubeSource.class.getResourceAsStream("/yts-version.txt")) {
1111
if (versionStream != null) {
1212
byte[] content = new byte[versionStream.available()];
1313
versionStream.read(content);
File renamed without changes.

0 commit comments

Comments
 (0)