Skip to content

Commit b836b7f

Browse files
committed
doc: Update README.md
1 parent 148a666 commit b836b7f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README-zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ module.exports = proxy;
203203
您可以使用功能性工具来增强模拟效果。[#17](https://github.com/jaywcjlove/webpack-api-mocker/issues/17)
204204

205205
```js
206-
const delay = require('mocker-api/lib/delay');
206+
const delay = require('mocker-api/delay');
207207
const noProxy = process.env.NO_PROXY === 'true';
208208

209209
const proxy = {

packages/core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ module.exports = proxy;
206206
You can use functional tool to enhance mock. [#17](https://github.com/jaywcjlove/webpack-api-mocker/issues/17)
207207

208208
```js
209-
const delay = require('mocker-api/lib/delay');
209+
const delay = require('mocker-api/delay');
210210
const noProxy = process.env.NO_PROXY === 'true';
211211

212212
const proxy = {

packages/core/src/delay.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { MockerProxyRoute, MockerResult, MockerResultFunction } from './';
55
* You can use functional tool to enhance mock. [#17](https://github.com/jaywcjlove/webpack-api-mocker/issues/17)
66
*
77
* ```js
8-
* const delay = require('mocker-api/lib/delay');
8+
* const delay = require('mocker-api/delay');
99
* const noProxy = process.env.NO_PROXY === 'true';
1010
*
1111
* const proxy = {

0 commit comments

Comments
 (0)