Skip to content

Commit 35ebb45

Browse files
chore: apply code formatting and cleanup
• Remove trailing newlines from source files • Apply prettier formatting to scripts • Ensure consistent code style across codebase
1 parent 9a3198d commit 35ebb45

File tree

12 files changed

+2
-14
lines changed

12 files changed

+2
-14
lines changed

scripts/clean-maps.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ import { join } from "path";
1111
async function removeMaps(dir) {
1212
try {
1313
const entries = await readdir(dir, { withFileTypes: true });
14-
14+
1515
for (const entry of entries) {
1616
const fullPath = join(dir, entry.name);
17-
17+
1818
if (entry.isDirectory()) {
1919
await removeMaps(fullPath);
2020
} else if (entry.isFile() && entry.name.endsWith(".map")) {
@@ -34,4 +34,3 @@ removeMaps(distDir).catch((error) => {
3434
console.error("Error removing source maps:", error);
3535
process.exit(1);
3636
});
37-

src/cli/commands/preview/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ export interface PreviewState {
1111
hasMore: boolean;
1212
currentIndex: number;
1313
}
14-

src/cli/commands/revert/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ export interface RevertState {
1010
useCommitWorkflow: boolean; // true unless --no-edit
1111
conflictDetected: boolean;
1212
}
13-

src/cli/commands/shared/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,3 @@ export interface MergeParent {
8383
/** Full hash */
8484
hash: string;
8585
}
86-

src/cli/commands/test/scenarios.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,3 @@ export function getScenario(name: string): ScenarioMetadata | null {
6868
export function listScenarios(): ScenarioMetadata[] {
6969
return Object.values(SCENARIOS);
7070
}
71-

src/cli/commands/test/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@ export interface TestState {
2424
sandboxPath: string;
2525
isActive: boolean;
2626
}
27-

src/cli/program-dev.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,3 @@ Documentation:
7373

7474
// Error on unknown commands
7575
program.showSuggestionAfterError(true);
76-

src/lib/shortcuts/auto-assign.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,3 @@ function findAvailableShortcut(
8181

8282
return null; // No available shortcut
8383
}
84-

src/lib/shortcuts/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,3 @@ export function getShortcutForValue(
111111
}
112112
return mapping.valueToKey[value];
113113
}
114-

src/lib/shortcuts/input-handler.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,3 @@ export function handleShortcutInput(
4545
*
4646
* Future enhancement: Implement full input interception wrapper.
4747
*/
48-

0 commit comments

Comments
 (0)