This is an automated email from the ASF dual-hosted git repository.

toulmean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git

commit 8e20edebe3ad3817c72a907f59a0bd6d8afc14d7
Author: Antoine Toulme <[email protected]>
AuthorDate: Sun Aug 25 23:20:51 2019 -0700

    Fix file check
---
 gradle/stage.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gradle/stage.gradle b/gradle/stage.gradle
index 1a83ad6..3f5aab5 100644
--- a/gradle/stage.gradle
+++ b/gradle/stage.gradle
@@ -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" }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to