Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
Fix file check
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme committed Aug 26, 2019
1 parent 68c598b commit 66c4cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/stage.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class StageBuildTask extends DefaultTask {
class SubversionStageTask extends DefaultTask {
@TaskAction
def run() {
if (!file("_staged/$project.version-incubating"))
if (!new File("_staged/$project.version-incubating").exists())
// create _staged folder
project.exec { commandLine "mkdir", "-p", "_staged" }

Expand Down

0 comments on commit 66c4cd4

Please sign in to comment.