Mini Shell

Direktori : /proc/self/root/opt/alt/alt-nodejs11/root/usr/lib/node_modules/npm/lib/utils/
Upload File :
Current File : //proc/self/root/opt/alt/alt-nodejs11/root/usr/lib/node_modules/npm/lib/utils/umask.js

var umask = require('umask')
var npmlog = require('npmlog')
var _fromString = umask.fromString

module.exports = umask

// fromString with logging callback
umask.fromString = function (val) {
  _fromString(val, function (err, result) {
    if (err) {
      npmlog.warn('invalid umask', err.message)
    }
    val = result
  })

  return val
}

Zerion Mini Shell 1.0