summaryrefslogtreecommitdiff
path: root/src/org/stsci/Conda.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/stsci/Conda.groovy')
-rw-r--r--src/org/stsci/Conda.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/stsci/Conda.groovy b/src/org/stsci/Conda.groovy
index d0736e0..8e306ed 100644
--- a/src/org/stsci/Conda.groovy
+++ b/src/org/stsci/Conda.groovy
@@ -10,7 +10,7 @@ class Conda implements Serializable {
Conda (prefix) {
this.prefix = prefix
- this.prefix_exists = new File(this.prefix).exists()
+ this.prefix_exists = fileExists this.prefix
this.shell_environment = [:]
this.environment_name = ""
this.channels = []