UNPKG

302 BJavaScriptView Raw
1const path = require('path');
2const { copyFile } = require('../bin/utils');
3const rootPath = process.cwd();
4const currentPath = __dirname;
5
6module.exports = function () {
7 copyFile(path.resolve(currentPath, 'gitignore'), path.resolve(rootPath, '.gitignore'), { silentFailIfExists: true });
8};