Skip to content

Commit

Permalink
Spacing is unused when generating with no demo
Browse files Browse the repository at this point in the history
causes a lint error in a generated project, so fixed
  • Loading branch information
lindboe committed Aug 14, 2024
1 parent 97375b2 commit a996b2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion boilerplate/app/theme/styles.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ViewStyle } from "react-native"
import { spacing } from "./spacing"
import { spacing } from "./spacing" // @demo remove-current-line

/* Use this file to define styles that are used in multiple places in your app. */
export const $styles = {
Expand Down
2 changes: 1 addition & 1 deletion test/vanilla/__snapshots__/ignite-remove-demo.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ removing file /user/home/ignite/app/screens/LoginScreen.tsx
Found 'remove-file' in /user/home/ignite/app/screens/LoginScreen.tsx
Found '@demo remove-current-line', '@demo remove-block-start', '@demo remove-block-end' in /user/home/ignite/app/screens/WelcomeScreen.tsx
Found '@demo remove-current-line', '@demo remove-block-start', '@demo remove-block-end' in /user/home/ignite/app/services/api/api.ts
Found '@demo remove-block-start', '@demo remove-block-end' in /user/home/ignite/app/theme/styles.ts
Found '@demo remove-current-line', '@demo remove-block-start', '@demo remove-block-end' in /user/home/ignite/app/theme/styles.ts
Removed empty directory '/user/home/ignite/.maestro'
Removed empty directory '/user/home/ignite/app/screens/DemoShowroomScreen/demos'
Removed empty directory '/user/home/ignite/app/screens/DemoShowroomScreen'
Expand Down

0 comments on commit a996b2a

Please sign in to comment.