Skip to content

Commit 58c65d3

Browse files
committed
Update comment.
1 parent 90b7c97 commit 58c65d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fileAttachment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export function NoFileAttachments(name) {
4949

5050
export default function FileAttachments(resolve) {
5151
return name => {
52-
const url = resolve(name += ""); // Returns a Promise, or null.
52+
const url = resolve(name += ""); // Returns a Promise, string, or null.
5353
if (url == null) throw new Error(`File not found: ${name}`);
5454
return new FileAttachment(url, name);
5555
};

0 commit comments

Comments
 (0)