title: Getting Error while publishing ADFv2
body: <p>I have done the changes in the Azure data factory pipeline. Selected the "VSTS Git" option and trying to publish the changes it was working fine but now started getting below error message:</p>
  
  <p><code>Error while publishing: Cannot read property 'constructor' of undefined</code></p>
  
  <p>Retried by removing the changes but still getting same issue.</p>