This makes the JS script more similar to the original bash script it replaced (see #33854) and will be easier to follow for people that are less familiar with Node.js scripting. Discussed in: https://github.com/angular/angular/pull/33854#discussion_r346949765 PR Close #33895