diff options
author | Mustansir Golawala <mgolawala@gmail.com> | 2012-04-12 01:29:15 -0700 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-04-14 23:17:38 +0200 |
commit | 7ee15457edbd634c85b69fb3b865c4e27b17b672 (patch) | |
tree | 15b8d53adc9e933671335ddea0e530e94f244c43 /lib/os.js | |
parent | 93cefab1a3a40a5693217c9ce43380a1e1cfad4e (diff) | |
download | android-node-v8-7ee15457edbd634c85b69fb3b865c4e27b17b672.tar.gz android-node-v8-7ee15457edbd634c85b69fb3b865c4e27b17b672.tar.bz2 android-node-v8-7ee15457edbd634c85b69fb3b865c4e27b17b672.zip |
os: add cross platform EOL character
Diffstat (limited to 'lib/os.js')
-rw-r--r-- | lib/os.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -42,3 +42,5 @@ exports.getNetworkInterfaces = function() { }; module.deprecate('getNetworkInterfaces', 'It is now called `os.networkInterfaces`.'); + +exports.EOL = process.platform === 'win32' ? '\r\n' : '\n'; |