colindembovsky / cols-agent-tasks

Colin's ALM Corner Custom Build Tasks
MIT License
83 stars 68 forks source link

Cannot assign to read only property '0' of string #139

Open juliofuentescerrada opened 4 years ago

juliofuentescerrada commented 4 years ago

Hi Colin, Thank you very much for this awesome tool set. However I'm struggling with an issue regarding JSON tokenization.

Given this settings file: ocelot.json

  "ReRoutes": [
    {
      "DownstreamPathTemplate": "/api/{everything}",
      "DownstreamScheme": "http",
      "DownstreamHostAndPorts": [
        {
          "Host": "localhost",
          "Port": 80
        }
      ],
      "UpstreamPathTemplate": "/api/{everything}",
      "UpstreamHttpMethod": [ "Get", "Post" ]
    }
  ],
  "GlobalConfiguration": {}
}

When I run the tokenize file task in my pipeline I get the following output: image

I've debugged the task code and it seems to be working fine but somehow it doesn't during the pipeline execution.

prrrtpieptoet commented 3 years ago

I'm running into the same issue. Does anyone know if this project is still maintained? Last activity by the owner was 14 months ago.