Skip to content

Commit

Permalink
Merge pull request bower#72 from shadargee1982/master
Browse files Browse the repository at this point in the history
bower#71: default external file attributes to File for Unix
  • Loading branch information
sheerun committed Jan 11, 2021
2 parents 677d5eb + 388533e commit 1ac3acc
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 1ac3acc

Please sign in to comment.