Skip to content

Commit

Permalink
Use object shorthand for properties
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusU authored and mafintosh committed May 27, 2020
1 parent eaa31fa commit 6b2003d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions headers.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,17 +277,17 @@ exports.decode = function (buf, filenameEncoding) {
if (typeflag === 0 && name && name[name.length - 1] === '/') typeflag = 5

return {
name: name,
mode: mode,
uid: uid,
gid: gid,
size: size,
name,
mode,
uid,
gid,
size,
mtime: new Date(1000 * mtime),
type: type,
linkname: linkname,
uname: uname,
gname: gname,
devmajor: devmajor,
devminor: devminor
type,
linkname,
uname,
gname,
devmajor,
devminor
}
}

0 comments on commit 6b2003d

Please sign in to comment.