mirror of
https://github.com/protobufjs/protobuf.js.git
synced 2025-12-08 20:58:55 +00:00
8 lines
256 B
JavaScript
8 lines
256 B
JavaScript
var path = require("path"),
|
|
fs = require("fs");
|
|
|
|
// ensure LF on bin files
|
|
[ path.join(__dirname, "..", "bin", "pbjs") ].forEach(function(file) {
|
|
fs.writeFileSync(file, fs.readFileSync(file).toString("utf8").replace(/\r?\n/g, "\n"), "utf8");
|
|
});
|