Skip to content

Commit cc65232

Browse files
committed
refactor: standardize script headers
1 parent c9105a9 commit cc65232

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

scripts/build.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ async function main() {
242242
}
243243

244244
if (!quiet) {
245-
printHeader('Socket PackageURL Build Runner')
245+
printHeader('Build Runner')
246246
}
247247

248248
let exitCode = 0

scripts/check.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ async function main() {
138138
const runAll = !values.lint && !values.types
139139

140140
if (!quiet) {
141-
printHeader('Socket PackageURL Check Runner')
141+
printHeader('Check Runner')
142142
log.step('Running code quality checks')
143143
}
144144

scripts/clean.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ async function main() {
174174
}
175175

176176
if (!quiet) {
177-
printHeader('Socket PackageURL Clean Runner')
177+
printHeader('Clean Runner')
178178
log.step('Cleaning project directories')
179179
}
180180

scripts/lint.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ async function main() {
284284
const quiet = isQuiet(values)
285285

286286
if (!quiet) {
287-
printHeader('Socket PackageURL Lint Runner')
287+
printHeader('Lint Runner')
288288
}
289289

290290
let exitCode = 0

scripts/test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ async function main() {
249249
return
250250
}
251251

252-
printHeader('Socket PackageURL Test Runner')
252+
printHeader('Test Runner')
253253

254254
// Handle aliases
255255
const skipChecks = values.fast || values.quick

scripts/utils/common.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function printFooter(message, success = true) {
6161

6262
// Standard help header
6363
export function printHelpHeader(name) {
64-
console.log(`Socket PackageURL ${name}`)
64+
console.log(`${name}`)
6565
}
6666

6767
// Handle quiet options

scripts/utils/get-code-coverage.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export async function getCodeCoverage(options = {}) {
2424
return null
2525
}
2626

27-
const result = await spawn('pnpm', ['run', 'test:unit:coverage'], {
27+
const result = await spawn('dotenvx', ['-q', 'run', '-f', '.env.test', '--', 'vitest', '--config', '.config/vitest.config.mts', '--run', '--coverage'], {
2828
stdio: 'ignore',
2929
shell: constants.WIN32,
3030
})

0 commit comments

Comments
 (0)