Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "socket",
"version": "1.1.35",
"version": "1.1.36",
"description": "CLI for Socket.dev",
"homepage": "https://github.com/SocketDev/socket-cli",
"license": "MIT AND OFL-1.1",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/fix/coana-fix.mts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export async function coanaFix(
p => path.basename(p).toLowerCase() !== DOT_SOCKET_DOT_FACTS_JSON,
)
const uploadCResult = await handleApiCall(
sockSdk.uploadManifestFiles(orgSlug, filepathsToUpload),
sockSdk.uploadManifestFiles(orgSlug, filepathsToUpload, cwd),
{
description: 'upload manifests',
spinner,
Expand Down
7 changes: 6 additions & 1 deletion src/commands/scan/perform-reachability-analysis.mts
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,13 @@ export async function performReachabilityAnalysis(

spinner?.start('Uploading manifests for reachability analysis...')

// Ensure uploaded manifest files are relative to analysis target as coana resolves SBOM manifest files relative to this path
const uploadCResult = await handleApiCall(
sockSdk.uploadManifestFiles(orgSlug, filepathsToUpload),
sockSdk.uploadManifestFiles(
orgSlug,
filepathsToUpload,
path.resolve(cwd, analysisTarget),
),
{
description: 'upload manifests',
spinner,
Expand Down