Skip to content

Commit

Permalink
#71: default external file attributes to File for Unix
Browse files Browse the repository at this point in the history
  • Loading branch information
shadargee1982 committed Jan 4, 2021
1 parent 677d5eb commit 388533e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/structures.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ var parseExternalFileAttributes = function (externalAttributes, platform) {
case 3: // Unix
return {
platform: 'Unix',
type: types[(externalAttributes >> 28) & 0x0F],
type: types[(externalAttributes >> 28) & 0x0F] || 'File', // default to File
mode: (externalAttributes >> 16) & 0xFFF
};

Expand Down

0 comments on commit 388533e

Please sign in to comment.