Primeiro commit do projeto Angular
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
// 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)
|
||||
Reference in New Issue
Block a user