Skip to content

Commit 45929a7

Browse files
committed
fix(lint): resolve linting issues in dlx modules
- Remove unused catch parameter in dlx-binary.ts - Fix formatting in dlx-manifest.ts constructor
1 parent cddd8b2 commit 45929a7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/dlx-binary.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ async function writeMetadata(
337337
url,
338338
},
339339
})
340-
} catch (error) {
340+
} catch {
341341
// Silently ignore manifest write errors - not critical.
342342
// The per-directory metadata is the source of truth for now.
343343
}

src/dlx-manifest.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,7 @@ export class DlxManifest {
121121

122122
constructor(options: DlxManifestOptions = {}) {
123123
this.manifestPath =
124-
options.manifestPath ??
125-
path.join(getSocketDlxDir(), MANIFEST_FILE_NAME)
124+
options.manifestPath ?? path.join(getSocketDlxDir(), MANIFEST_FILE_NAME)
126125
this.lockPath = `${this.manifestPath}.lock`
127126
}
128127

0 commit comments

Comments
 (0)