Skip to content

Commit ead8187

Browse files
committed
didn't work
1 parent e301ee9 commit ead8187

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

from.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Blob from './index.js';
77
* @param {string} path filepath on the disk
88
* @returns {Blob}
99
*/
10-
const blobFromSync = path => from(statSync(path), path);
10+
const blobFromSync = path => from(statSync(path), path);
1111

1212
/**
1313
* @param {string} path filepath on the disk
@@ -29,7 +29,7 @@ const from = (stat, path) => new Blob([new BlobDataItem({
2929
*
3030
* @private
3131
*/
32-
export default class BlobDataItem {
32+
class BlobDataItem {
3333
#path;
3434
#start;
3535

@@ -71,4 +71,5 @@ export default class BlobDataItem {
7171
}
7272
}
7373

74+
export default blobFromSync;
7475
export {Blob, blobFrom, blobFromSync};

0 commit comments

Comments
 (0)