UNPKG

@25sprout/react-starter

Version:

25sprout web starter with React

14 lines (10 loc) 280 B
import fs from 'fs/promises'; async function processGitignore(projectPath) { try { await fs.rename(`${projectPath}/gitignore`, `${projectPath}/.gitignore`); console.log('Complete .gitignore'); } catch (error) { console.log(error); } } export default processGitignore;