Skip to content

Commit

Permalink
Update CI/readme (#29)
Browse files Browse the repository at this point in the history
* Add ignore

* Add EOF

* Fix config

* Add test

* Fix ci

* Fix package.json

* Update readme.md
  • Loading branch information
hg-pyun authored Jul 5, 2019
1 parent b200c15 commit ebe1d56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ You can use various loggers through the `axios`'s interceptor API.

```javascript
import axios from 'axios';
import AxiosLogger from 'axios-logger';
import * as AxiosLogger from 'axios-logger';

const instance = axios.create();
instance.interceptors.request.use(AxiosLogger.requestLogger);
Expand All @@ -47,7 +47,7 @@ instance.interceptors.request.use((config) => {

```javascript
import axios from 'axios';
import AxiosLogger from 'axios-logger';
import * as AxiosLogger from 'axios-logger';

const instance = axios.create();
instance.interceptors.response.use(AxiosLogger.responseLogger);
Expand All @@ -68,7 +68,7 @@ You can inject `errorLogger` right after `requestLogger` or `responseLogger`.

```javascript
import axios from 'axios';
import AxiosLogger from 'axios-logger';
import * as AxiosLogger from 'axios-logger';

const instance = axios.create();
instance.interceptors.request.use(AxiosLogger.requestLogger, AxiosLogger.errorLogger);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "axios-logger",
"version": "2.0.0",
"version": "2.0.1",
"description": "Beautify Axios Logging Messages",
"main": "lib/index.js",
"keywords": [
Expand Down

0 comments on commit ebe1d56

Please sign in to comment.