EFForg / dnt-policy

dnt-policy
44 stars 9 forks source link

Also compute hashes with Windows newlines #22

Open pde opened 9 years ago

pde commented 9 years ago

Currently, the list of known-good policies is computed using literal sha1 hashes of the files in the repo. If people save and copy the files with certain tools on Windows, they may wind up with different newlines. We should probably at least handle the CR+LF case correctly.