@ -52,10 +52,11 @@ export default class Now extends EventEmitter {
method: 'POST',
body: {
forceNew,
files: Array.from(this._files).map(([sha, { data }]) => {
files: Array.from(this._files).map(([sha, { data, name }]) => {
return {
sha,
size: Buffer.byteLength(data)
size: Buffer.byteLength(data),
file: toRelative(name, this._path),
};
})
}