Skip to content

Commit

Permalink
fix: updates based on review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
msagi committed Mar 26, 2024
1 parent 4db5f81 commit 06a62d0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
fetch-depth: 0

- name: Install Dependencies
run: npm i
run: npm install --workspaces

- name: Code Linting
run: |
npm run lint
npm run lint --workspaces
npm run lint --workspaces --if-present
6 changes: 3 additions & 3 deletions packages/git-proxy-cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ axios.defaults.timeout = 30000;

/**
* Log in to Git Proxy
* @param {*} username The user name to login with
* @param {*} password The password to use for the login
* @param {string} username The user name to login with
* @param {string} password The password to use for the login
*/
async function login(username, password) {
try {
Expand Down Expand Up @@ -56,7 +56,7 @@ async function login(username, password) {

/**
* Approve commit by ID
* @param {*} commitId The ID of the commit to approve
* @param {string} commitId The ID of the commit to approve
*/
async function approveCommit(commitId) {
if (!fs.existsSync(GIT_PROXY_COOKIE_FILE)) {
Expand Down
1 change: 0 additions & 1 deletion website/docs/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ description: How to install Git Proxy in your environment

To install Git Proxy, you must first install [Node.js](https://nodejs.org/en/download). Then, use the [npm package manager](https://www.npmjs.com/):

To install Git Proxy
```bash
npm install -g @finos/git-proxy
```
Expand Down

0 comments on commit 06a62d0

Please sign in to comment.