From cd6177d4bfc1c388cacece23ef050abdd38ae3dd Mon Sep 17 00:00:00 2001 From: dzdidi Date: Thu, 15 Feb 2024 17:46:14 +0000 Subject: [PATCH] utils: fix deps import Signed-off-by: dzdidi --- src/utils.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 97dcff8..b6f9abc 100644 --- a/src/utils.js +++ b/src/utils.js @@ -1,3 +1,5 @@ +const fs = require('fs') +const path = require('path') function printACL(repoACL) { console.log('Repo Visibility:', '\t', repoACL.visibility) @@ -16,7 +18,7 @@ function printACLForUser(repoACL, u) { function checkIfGitRepo(p) { if (!fs.existsSync(path.join(p, '.git'))) { - console.error('Not a git repo') + console.error(` ${p} is not a git repo`) process.exit(1) } }