Skip to content

Commit

Permalink
Update build.gradle (#3926)
Browse files Browse the repository at this point in the history
  • Loading branch information
TPGamesNL authored May 4, 2021
1 parent 728b7fc commit 9dcdeee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ compileTestJava.options.encoding = 'UTF-8'
task checkAliases {
description 'Checks for the existence of the aliases.'
doLast {
def aliasFolder = new File('skript-aliases')
def aliasFolder = project.file('skript-aliases')
if (!aliasFolder.exists() || aliasFolder.listFiles().length == 0) {
throw new InvalidUserDataException('Aliases are missing from \'skript-aliases\' folder. Consider fetching submodules with \'git submodule update --init\'.')
}
Expand Down

0 comments on commit 9dcdeee

Please sign in to comment.