Skip to content

Commit 12606d1

Browse files
MaxNanasybendrucker
authored andcommitted
README.md: Fix typo (#241)
A sentence says to use `require.preserveCache` above a code example that uses `proxyquire.preserveCache`, so I changed the sentence to match the code
1 parent 3da0603 commit 12606d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ assert.notEqual(foo1, foo2);
252252
assert.notEqual(foo1, foo3);
253253
```
254254

255-
`require.preserveCache` allows you to restore the behavior to match nodejs's `require` again.
255+
`proxyquire.preserveCache` allows you to restore the behavior to match nodejs's `require` again.
256256

257257
```js
258258
proxyquire.preserveCache();

0 commit comments

Comments
 (0)