private String getZipPath()

in aws-codedeploy-agent/src/main/java/jetbrains/buildServer/runner/codedeploy/ApplicationRevision.java [153:159]


  private String getZipPath(@NotNull File f) throws CodeDeployRunner.CodeDeployRunnerException {
    if (f.equals(getCustomAppSpecYmlFile())) return CodeDeployConstants.APPSPEC_YML;

    final String zipPath = myPathMappings.mapPath(f);
    if(zipPath  == null) throw new CodeDeployRunner.CodeDeployRunnerException("Unexpected application revision file " + f, null);
    return zipPath;
  }