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

Commit

Permalink
Update plugins/nf-validation/src/main/nextflow/validation/FormatValid…
Browse files Browse the repository at this point in the history
…ators/DirectoryPathValidator.groovy

Co-authored-by: Nicolas Vannieuwkerke <[email protected]>
  • Loading branch information
adamrtalbot and nvnieuwk authored Aug 1, 2024
1 parent 5ff250f commit 85057af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class DirectoryPathValidator implements FormatValidator {
@Override
public Optional<String> validate(final String subject) {
if (subject.matches("(s3://|az://|gs://).*")) {
log.debug("S3 paths are not supported by 'DirectoryPathValidator': '${subject}'")
log.debug("Cloud storage paths are not supported by 'DirectoryPathValidator': '${subject}'")
return Optional.empty()
}
Path file = Nextflow.file(subject) as Path
Expand Down

0 comments on commit 85057af

Please sign in to comment.