Skip to content

Commit

Permalink
readme.md: Fix syntax error in the example
Browse files Browse the repository at this point in the history
Fix the following error in the example provide in section Usage:

let rpi = require('raspi-ver);
                  ^^^^^^^^^^^^

SyntaxError: Invalid or unexpected token

Signed-off-by: Leon Anavi <[email protected]>
  • Loading branch information
leon-anavi authored and jcane86 committed Oct 7, 2018
1 parent fc8d259 commit 495f23b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

Require in your own modules, and directly access the exposed properties.

let rpi = require('raspi-ver);
let rpi = require('raspi-ver');

if (rpi.model === "Model B"){
if (rpi.model === "Model B") {

console.log("PROFIT");

Expand Down

0 comments on commit 495f23b

Please sign in to comment.