Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

rpi-gpio.js: Failsafe match of cpuinfo #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leon-anavi
Copy link

Set default values and avoid the following error if match()
method returns null when checking the cpuinfo:

TypeError: Cannot read property '1' of null

Signed-off-by: Leon Anavi [email protected]

Set default values and avoid the following error if match()
method returns null when checking the cpuinfo:

TypeError: Cannot read property '1' of null

Signed-off-by: Leon Anavi <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant