Hacked By AnonymousFox

Current Path : /opt/alt/alt-nodejs22/root/lib/node_modules/npm/node_modules/@npmcli/git/lib/
Upload File :
Current File : //opt/alt/alt-nodejs22/root/lib/node_modules/npm/node_modules/@npmcli/git/lib/is.js

// not an airtight indicator, but a good gut-check to even bother trying
const { stat } = require('fs/promises')
module.exports = ({ cwd = process.cwd() } = {}) =>
  stat(cwd + '/.git').then(() => true, () => false)

Hacked By AnonymousFox1.0, Coded By AnonymousFox