drivelist
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -33,3 +33,3 @@ var childProcess, tableParser, _; | ||
return childProcess.exec("lsblk " + drive.device + " -d", {}, function(error, stdout, stderr) { | ||
var result, _ref; | ||
var result, rmFlag, _ref; | ||
if (error != null) { | ||
@@ -42,4 +42,5 @@ return callback(false); | ||
result = tableParser.parse(stdout); | ||
return callback(((_ref = result[0].RM) != null ? _ref[0] : void 0) !== '1'); | ||
rmFlag = ((_ref = result[0].RM) != null ? _ref[0] : void 0) || result[0]['MAJ:MIN'][1]; | ||
return callback(rmFlag !== '1'); | ||
}); | ||
}; |
{ | ||
"name": "drivelist", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "List all connected drives in your computer, in all major operating systems", | ||
@@ -5,0 +5,0 @@ "main": "build/drivelist.js", |
@@ -7,2 +7,3 @@ drivelist | ||
[![Build Status](https://travis-ci.org/resin-io/drivelist.svg?branch=master)](https://travis-ci.org/resin-io/drivelist) | ||
[![Build status](https://ci.appveyor.com/api/projects/status/63x4eai5c8qiyvwh?svg=true)](https://ci.appveyor.com/project/jviotti/drivelist) | ||
@@ -151,2 +152,6 @@ List all connected drives in your computer, in all major operating systems. | ||
### v1.2.2 | ||
- Fix issue where a removable drive was detected as a system drive in Linux. | ||
### v1.2.1 | ||
@@ -153,0 +158,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39378
22
279
179