hunk.code_window:                                 return Mono.error(new AppsmithException(AppsmithError.INVALID_GIT_SSH_CONFIGURATION));
                               }
                               if (error instanceof InvalidRemoteException) {
                                   return Mono.error(new AppsmithException(AppsmithError.INVALID_PARAMETER, "remote url"));
                               }
                               log.error("Error while cloning the remote repo, {}", error.getMessage());
                               return Mono.error(new AppsmithException(AppsmithError.INTERNAL_SERVER_ERROR));
                           });
                           return Mono.zip(
                                   Mono.just(application),
  
hunk.labels: keep keep keep keep keep replace replace keep keep keep
hunk.after_edit:                             return Mono.error(new AppsmithException(AppsmithError.GIT_EXECUTION_TIMEOUT));
  
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/GitServiceCEImpl.java
hunk.type: replace
file: import transformCurlImport from "transformers/CurlImportTransformer";
  
  describe("CurlImportTransformer", () => {
    it("has quotes in start and end and escapes special characters", () => {
      const inputs = [
        `curl -X GET`,
        `"curl -X GET`,
        `curl -X GET"`,
        `curl google.com\n`,
      ];
      const outputs = [
        `"curl -X GET"`,
        `"\\"curl -X GET"`,
        `"curl -X GET\\""`,
        `"curl google.com\\n"`,
      ];
      inputs.forEach((input, index) => {
        const result = transformCurlImport(input);
        expect(result).toBe(outputs[index]);
      });
    });
  });
  