Skip to content

Commit 109143d

Browse files
committed
fix: removes unused assignment
Removes the assignment of the axios.post promise to a variable. The response was not being used, so the assignment is unnecessary.
1 parent 6cb1017 commit 109143d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/git-proxy-cli/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ async function createUser(username, password, email, gitAccount, admin = false)
348348
try {
349349
const cookies = JSON.parse(fs.readFileSync(GIT_PROXY_COOKIE_FILE, 'utf8'));
350350

351-
const response = await axios.post(
351+
await axios.post(
352352
`${baseUrl}/api/auth/create-user`,
353353
{
354354
username,

0 commit comments

Comments
 (0)