1. Chempound
  2. Untitled project
  3. chempound-client

Commits

Sam Adams  committed a3d4ff6

Sync with renamed method in dependency

  • Participants
  • Parent commits aa9688a
  • Branches default

Comments (0)

Files changed (1)

File src/main/java/net/chempound/client/cli/command/DepositCommand.java

View file
  • Ignore whitespace
                 final File file = globalOptions.workingDirectory == null ? new File(filename) : new File(globalOptions.workingDirectory, filename);
                 final String depositFilename = FilenameUtils.getName(filename);
                 final LocalResource resource = new LocalFileResource(depositFilename, file);
-                request.addResource(resource);
+                request.withFile(resource);
             }
         }
     }