Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ private void setupRemoteResource(ApplicationId appId, DynoResource resource, Map

Preconditions.checkArgument(srcPaths.length > 0, "Must supply at least one source path");
Preconditions.checkArgument(resource.getType() == LocalResourceType.ARCHIVE || srcPaths.length == 1,
"Can only specify multiple source paths if using an ARCHIVE type");
"Can only specify one source paths if using an ARCHIVE type");

List<URI> srcURIs = Arrays.stream(srcPaths).map(URI::create).collect(Collectors.toList());
Set<String> srcSchemes = srcURIs.stream().map(URI::getScheme).collect(Collectors.toSet());
Expand Down