Skip to content

Commit

Permalink
Update occurences of t2 install-drivers => t2 install drivers. Fixes
Browse files Browse the repository at this point in the history
 gh-1085

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
  • Loading branch information
rwaldron committed Nov 18, 2016
1 parent 97bf872 commit 7080213
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/installer.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports.drivers = function() {
} catch (e) {
if (e.code === 'EACCES') {
log.error(`Could not write to ${dest}`);
log.info('Run "sudo t2 install-drivers"');
log.info('Run "sudo t2 install drivers"');
return reject(-1);
} else {
return reject(e);
Expand Down
2 changes: 1 addition & 1 deletion lib/usb-connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ USB.Connection.prototype.open = function(altSetting) {
this.closed = false;
} catch (e) {
if (e.message === 'LIBUSB_ERROR_ACCESS' && process.platform === 'linux') {
log.error('Please run `sudo t2 install-drivers` to fix device permissions.\n(Error: could not open USB device.)');
log.error('Please run `sudo t2 install drivers` to fix device permissions.\n(Error: could not open USB device.)');
}
// Reject if error
return Promise.reject(e);
Expand Down

0 comments on commit 7080213

Please sign in to comment.