projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ad08bdd8a0501ac70d58e851ba68d7bf53144aad
[dotfiles/.git]
/
getOsEol.js
1
/* @flow */
2
"use strict";
3
4
const os = require("os");
5
6
// This function simply provides roundabout way of getting os.EOL
7
// so we can mock this for Jest tests
8
function getOsEl() /*: string*/ {
9
return os.EOL;
10
}
11
12
module.exports = getOsEl;