Skip to content

Commit

Permalink
gitignore .devcontainer and .vscode
Browse files Browse the repository at this point in the history
fix linter errors
  • Loading branch information
Francesco Faraone committed Dec 11, 2019
1 parent 3d954e9 commit b0fa381
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ node_modules
.env
.nyc_output
coverage
docs/build
docs/build
.devcontainer
.vscode
3 changes: 2 additions & 1 deletion lib/connect/http/adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@ class AbstractHttpAdapter {

/**
* Get or set a list of beforeRequest hook functions.
*
*
* @returns {Array} Array of hooks.
*/
get beforeRequest() {
return this._before;
}

set beforeRequest(middlewares) {
this._before = middlewares || [];
}
Expand Down

0 comments on commit b0fa381

Please sign in to comment.