From 9b0d3fff6a9b6736e684f7ebed88745e486106ca Mon Sep 17 00:00:00 2001 From: delarea Date: Tue, 12 Mar 2024 15:18:29 +0200 Subject: [PATCH] fix staticheck --- artifactory/utils/npm/pack_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/artifactory/utils/npm/pack_test.go b/artifactory/utils/npm/pack_test.go index 0634e8064..68ec6c5c8 100644 --- a/artifactory/utils/npm/pack_test.go +++ b/artifactory/utils/npm/pack_test.go @@ -46,6 +46,7 @@ func TestNpmPackWorkspaces(t *testing.T) { func TestNpmPack(t *testing.T) { _, executablePath, err := biutils.GetNpmVersionAndExecPath(nil) + assert.NoError(t, err) tmpDir, createTempDirCallback := tests.CreateTempDirWithCallbackAndAssert(t) defer createTempDirCallback() npmProjectPath := filepath.Join("..", "..", "..", "tests", "testdata", "npm-workspaces")