Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
charliegerard committed Jun 21, 2024
1 parent fab4d7c commit 3a61d87
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion lib/commands/repos/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ function setupCommand (name, description, argv, importMeta) {
*/
async function createRepo (orgSlug, input, spinner) {
const socketSdk = await setupSdk(getDefaultKey())
// @ts-ignore
const result = await handleApiCall(socketSdk.createOrgRepo(orgSlug, input), 'creating repository')

if (!result.success) {
Expand Down
1 change: 0 additions & 1 deletion lib/commands/repos/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ function setupCommand (name, description, argv, importMeta) {
*/
async function updateRepository (orgSlug, input, spinner) {
const socketSdk = await setupSdk(getDefaultKey())
// @ts-ignore
const result = await handleApiCall(socketSdk.updateOrgRepo(orgSlug, input.name, input), 'updating repository')

if (!result.success) {
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"@cyclonedx/cdxgen": "^10.5.2",
"@inquirer/select": "^2.3.5",
"@socketsecurity/config": "^2.1.3",
"@socketsecurity/sdk": "^1.1.0",
"@socketsecurity/sdk": "^1.1.1",
"chalk": "^5.3.0",
"chalk-table": "^1.0.2",
"execa": "^9.1.0",
Expand Down

0 comments on commit 3a61d87

Please sign in to comment.