Skip to content

Commit 90594db

Browse files
Merge pull request #7474 from Shopify/refactor-cleanup-kit-knip-14000924973228479986
[Refactor] Fix log typos
2 parents b665f08 + 74af65f commit 90594db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/cli-kit/src/public/node

packages/cli-kit/src/public/node/fs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ export function isDirectorySync(path: string): boolean {
369369
* @returns The size of the file in bytes.
370370
*/
371371
export async function fileSize(path: string): Promise<number> {
372-
outputDebug(outputContent`Getting the size of file file at ${outputToken.path(path)}...`)
372+
outputDebug(outputContent`Getting the size of file at ${outputToken.path(path)}...`)
373373
return (await fsStat(path)).size
374374
}
375375

@@ -380,7 +380,7 @@ export async function fileSize(path: string): Promise<number> {
380380
* @returns The size of the file in bytes.
381381
*/
382382
export function fileSizeSync(path: string): number {
383-
outputDebug(outputContent`Sync-getting the size of file file at ${outputToken.path(path)}...`)
383+
outputDebug(outputContent`Sync-getting the size of file at ${outputToken.path(path)}...`)
384384
return fsStatSync(path).size
385385
}
386386

0 commit comments

Comments
 (0)