friedrith / node-wifi

📶 NodeJS tool to manage wifi (connections, scans)
MIT License
395 stars 161 forks source link

fix: adapt chalk string syntax #84

Closed SteinRobert closed 5 years ago

SteinRobert commented 5 years ago

Fixes broken CLI.

Following error message appear when installing a fresh version of node-wifi and using the cli:

/node-wifi/node_modules/chalk/templates.js:109
                throw new Error('Found extraneous } in Chalk template literal');
                ^

Error: Found extraneous } in Chalk template literal

The string syntax was adopted to the latest chalk syntax.

Motivation and Context

Make the CLI usable again.

Usage examples

wifi --scan

How Has This Been Tested?

Manual tests on Linux and MacOS.

Types of changes

friedrith commented 5 years ago

Thank you for this pull request.

friedrith commented 3 years ago

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.