Skip to content

Commit ea4e2f7

Browse files
committed
chore: readme updated screenshots
1 parent be9439f commit ea4e2f7

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ First-class support for SvelteKit and Next.js. Also works well in modern JavaScr
1111
---
1212

1313
### Warnings & errors detection
14-
![Demo](./docs/assets/demo1.gif)
14+
![Demo](./docs/assets/demo.gif)
1515

1616
### Clean / successful scan
17-
![Successful Scan](./docs/assets/success1.png)
17+
![Successful Scan](./docs/assets/success.png)
1818

1919
---
2020

docs/assets/demo.gif

124 KB
Loading

docs/assets/demo1.gif

-609 KB
Binary file not shown.

docs/assets/success.png

30.9 KB
Loading

docs/assets/success1.png

-99.8 KB
Binary file not shown.

src/ui/shared/printAutoFix.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { FixContext } from '../../config/types.js';
2-
import { label, value, accent, divider, header } from '../theme.js';
2+
import { label, value, accent, divider, header, wrapReason } from '../theme.js';
33

44
/**
55
* Prints the result of the auto-fix operation.
@@ -23,13 +23,13 @@ export function printAutoFix(
2323
console.log(`${label('Status'.padEnd(26))}${value('no changes needed')}`);
2424
} else {
2525
if (result.removedDuplicates.length) {
26-
console.log(`${label('Removed duplicates'.padEnd(26))}${value(result.removedDuplicates.join(', '))}`);
26+
console.log(`${label('Removed duplicates'.padEnd(26))}${value(wrapReason(result.removedDuplicates.join(', '), 26))}`);
2727
}
2828
if (result.addedEnv.length) {
29-
console.log(`${label('Added missing keys'.padEnd(26))}${value(result.addedEnv.join(', '))}`);
29+
console.log(`${label('Added missing keys'.padEnd(26))}${value(wrapReason(result.addedEnv.join(', '), 26))}`);
3030
}
3131
if (result.gitignoreUpdated) {
32-
console.log(`${label('Updated .gitignore'.padEnd(26))}${value(envName)}`);
32+
console.log(`${label('Updated .gitignore'.padEnd(26))}${value(wrapReason(envName, 26))}`);
3333
}
3434
}
3535

0 commit comments

Comments
 (0)