Skip to content

Commit

Permalink
Merge pull request #19 from cristiammercado/develop
Browse files Browse the repository at this point in the history
Some improvements and fixes
  • Loading branch information
Cristiam Mercado authored Apr 30, 2021
2 parents cd74356 + 21b09d6 commit fc6631d
Show file tree
Hide file tree
Showing 9 changed files with 2,005 additions and 281 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
language: node_js
dist: bionic
dist: focal
arch: amd64
cache: npm
os:
- linux
- osx
- windows
node_js:
- 16
- 15
- 14
- 13
- 12
- 11
- 10
install:
- npm install
script:
Expand Down
60 changes: 0 additions & 60 deletions dist/classes/drive-builder.d.ts

This file was deleted.

85 changes: 0 additions & 85 deletions dist/classes/drive-builder.js

This file was deleted.

31 changes: 0 additions & 31 deletions dist/classes/drive-json.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions dist/classes/drive-json.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/platforms/darwin.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ var Darwin = /** @class */ (function () {
if (value !== '') {
var line = value.replace(/ +(?= )/g, '');
var tokens = line.split(' ');
tokens[5] = tokens.slice(5).join(' ') // Prevent space splitting break the disk name
var d = new drive_1.default(tokens[0], isNaN(parseFloat(tokens[1])) ? 0 : +tokens[1], isNaN(parseFloat(tokens[2])) ? 0 : +tokens[2], isNaN(parseFloat(tokens[3])) ? 0 : +tokens[3], tokens[4], tokens[5]);
drives.push(d);
}
Expand Down
1 change: 0 additions & 1 deletion dist/platforms/linux.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ var Linux = /** @class */ (function () {
if (value !== '') {
var line = value.replace(/ +(?= )/g, '');
var tokens = line.split(' ');
tokens[5] = tokens.slice(5).join(' ') // Prevent space splitting break the disk name
var d = new drive_1.default(tokens[0], isNaN(parseFloat(tokens[1])) ? 0 : +tokens[1], isNaN(parseFloat(tokens[2])) ? 0 : +tokens[2], isNaN(parseFloat(tokens[3])) ? 0 : +tokens[3], tokens[4], tokens[5]);
drives.push(d);
}
Expand Down
Loading

0 comments on commit fc6631d

Please sign in to comment.