We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91ed703 commit c715409Copy full SHA for c715409
packages/cli/commands/create.ts
@@ -86,7 +86,7 @@ async function createProject(cwd: string, options: Options) {
86
force: async ({ results: { directory } }) => {
87
if (
88
fs.existsSync(directory!) &&
89
- fs.readdirSync(directory!).filter((x) => !x.startsWith('.')).length > 0
+ fs.readdirSync(directory!).filter((x) => !x.startsWith('.git')).length > 0
90
) {
91
const force = await p.confirm({
92
message: 'Directory not empty. Continue?',
0 commit comments