Skip to content

Commit

Permalink
code cleanup - remove reference to process.bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
silkentrance committed Feb 7, 2020
1 parent 7ee5bdd commit ba70579
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/tmp.js
Expand Up @@ -13,9 +13,7 @@ const fs = require('fs');
const os = require('os');
const path = require('path');
const crypto = require('crypto');
const _c = fs.constants && os.constants ?
{ fs: fs.constants, os: os.constants } :
process.binding('constants');
const _c = { fs: fs.constants, os: os.constants };
const rimraf = require('rimraf');

/*
Expand Down

0 comments on commit ba70579

Please sign in to comment.