Skip to content

Commit ee61dc4

Browse files
committed
Update README.md
1 parent bae8b24 commit ee61dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ This sample discovers a Bot (WoHand), then put the Bot's arm down, finally put i
167167

168168
```javascript
169169
// Load the node-switchbot and get a `Switchbot` constructor object
170-
const Switchbot = require('../lib/switchbot.js');
170+
const Switchbot = require('node-switchbot');
171171
// Create an `Switchbot` object
172172
const switchbot = new Switchbot();
173173

0 commit comments

Comments
 (0)