UNPKG

quarkflow-cli

Version:
10 lines 233 B
import path from "path"; import fs from "fs"; export const checkRepositoryExists = () => { const repoPath = path.resolve("./.git"); if (fs.existsSync(repoPath)) { return true; } else { return false; } };