.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / temp-dir / index.js
1 'use strict';
2 const fs = require('fs');
3 const os = require('os');
4
5 const ID = '__RESOLVED_TMP_DIR__';
6
7 if (!global[ID]) {
8         Object.defineProperty(global, ID, {
9                 value: fs.realpathSync(os.tmpdir())
10         });
11 }
12
13 module.exports = global[ID];