We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c1f486 commit dc6f076Copy full SHA for dc6f076
src/main/java/org/cryptomator/cli/pwd/PasswordFromFileStrategy.java
@@ -35,7 +35,7 @@ public String password() {
35
36
@Override
37
public void validate() throws IllegalArgumentException {
38
- if (!Files.isReadable(pathToFile) || !Files.isRegularFile(pathToFile)) {
+ if (!Files.isReadable(pathToFile)) {
39
throw new IllegalArgumentException("Cannot read password from file: " + pathToFile);
40
}
41
0 commit comments