Skip to content

Commit fc30aa7

Browse files
committed
Fix: added lint script in the root package
1 parent 69e030f commit fc30aa7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"clean:packages": "pnpm -r --filter './packages/*' run clean",
1414
"build": "pnpm -r --filter './packages/*' run build",
1515
"test": "pnpm -r --filter './packages/*' run test",
16+
"lint": "pnpm -r --filter './packages/*' run lint",
1617
"prepack": "pnpm -r --filter './packages/*' run prepack",
1718
"bootstrap": "pnpm install",
1819
"clean:modules": "rm -rf node_modules packages/**/node_modules",

packages/contentstack-utilities/src/progress-summary/summary-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { getChalk } from '../chalk';
22
import { ModuleResult, SummaryOptions } from '../interfaces/index';
3-
import { getSessionLogPath } from '../logger/log';
43

54
export default class SummaryManager {
65
private modules: Map<string, ModuleResult> = new Map();
@@ -160,6 +159,7 @@ export default class SummaryManager {
160159

161160
if (modulesWithFailures.length === 0) return;
162161

162+
// eslint-disable-next-line @typescript-eslint/no-unused-vars -- kept for future session log path / totals UX
163163
const totalFailures = modulesWithFailures.reduce((sum, m) => sum + m.failures.length, 0);
164164

165165
console.log('\n' + getChalk().bold.red('Failure Summary:'));

0 commit comments

Comments
 (0)