source: imaps-frontend/node_modules/supports-preserve-symlinks-flag/index.js@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 293 bytes
RevLine 
[d565449]1'use strict';
2
3module.exports = (
4// node 12+
5 process.allowedNodeEnvironmentFlags && process.allowedNodeEnvironmentFlags.has('--preserve-symlinks')
6) || (
7// node v6.2 - v11
8 String(module.constructor._findPath).indexOf('preserveSymlinks') >= 0 // eslint-disable-line no-underscore-dangle
9);
Note: See TracBrowser for help on using the repository browser.