When Fiddler builds were moved from the dev's Windows PC to the Jenkins build server, one consequence is that the line-endings changed from Windows (CRLF) to Linux (LF).
This turns out not to affect the .dat files in the \ResponseTemplates\ folder (presumably due to the .DAT extension) but it DOES affect SampleRules.js, the file used as the default script if the user hasn't modified it.
This is very bad in the event that the user has Notepad as their script editor (and it is the default) because Windows does not respect bare LFs and thus it shows the entire script on a single huge line.
Yep that's a pretty bad usability problem. Will fix asap.
This file has had the wrong line endings in the source control since we started using source control. So Jenkins is not to blame. Apparently the dev's Windows PC didn't build what was in the source control :)
Attachments Open full size