Skip to content

Commit

Permalink
Merge pull request #73 from Hugos68/dev
Browse files Browse the repository at this point in the history
Version bump
  • Loading branch information
Hugos68 authored Feb 1, 2024
2 parents 9c6cdc4 + d47da23 commit fae500d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/nasty-poets-attack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'capkit': patch
---

remove ios/ and android/ from .gitignore
2 changes: 1 addition & 1 deletion src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export async function initializeProject({ appName, appId, platforms, plugins }:
start: `Configuring: "${kleur.cyan('.gitignore')}"`,
stop: `Successfully configured: "${kleur.cyan('.gitignore')}"`,
task: async () => {
const lines = ['# Capacitor', '/android', '/ios', 'capacitor.config.json.timestamp-*'];
const lines = ['# Capacitor', 'capacitor.config.json.timestamp-*'];
const gitignore = await fs.readFile(`${process.cwd()}/.gitignore`, 'utf-8');
const uniqueLines = lines.filter((line) => !gitignore.includes(line));
if (uniqueLines.length === 0) return;
Expand Down

0 comments on commit fae500d

Please sign in to comment.