Skip to content

Commit

Permalink
refactor(wifi): change config error message to template string
Browse files Browse the repository at this point in the history
  • Loading branch information
HipsterBrown committed Mar 2, 2016
1 parent ecb6506 commit 7e01169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tessel/wifi.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Tessel.prototype.getWifiInfo = function() {
var network = JSON.parse(resultsJSON);

if (network.ssid === undefined) {
var msg = this.name + ' is not connected to Wi-Fi (run "t2 wifi -l" to see available networks)';
var msg = `${this.name} is not connected to Wi-Fi (run "t2 wifi -l" to see available networks)`;
return Promise.reject(msg);
}
} catch (err) {
Expand Down

0 comments on commit 7e01169

Please sign in to comment.