Skip to content

Commit

Permalink
fix archives.win32 snapshot?
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Mar 15, 2024
1 parent 8069f6b commit 618c5ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions test/output/build/archives.win32/tar.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@
import {define} from "./_observablehq/client.js";
import {registerFile} from "./_observablehq/stdlib.js";

registerFile("./static-tar/does-not-exist.txt", {"name":"./static-tar/does-not-exist.txt","mimeType":"text/plain","path":"./static-tar/does-not-exist.txt","lastModified":/* ts */1706742000000});
registerFile("./static-tar/does-not-exist.txt", {"name":"./static-tar/does-not-exist.txt","mimeType":"text/plain","path":"./static-tar/does-not-exist.txt"});
registerFile("./static-tar/file.txt", {"name":"./static-tar/file.txt","mimeType":"text/plain","path":"./_file/static-tar/file.c93138d8.txt","lastModified":/* ts */1706742000000});
registerFile("./static-tgz/file.txt", {"name":"./static-tgz/file.txt","mimeType":"text/plain","path":"./_file/static-tgz/file.c93138d8.txt","lastModified":/* ts */1706742000000});

define({id: "d5134368", inputs: ["FileAttachment","display"], body: async (FileAttachment,display) => {
display(await(
await FileAttachment("static-tar/file.txt").text()
await FileAttachment("./static-tar/file.txt").text()
))
}});

define({id: "a0c06958", inputs: ["FileAttachment","display"], body: async (FileAttachment,display) => {
display(await(
await FileAttachment("static-tgz/file.txt").text()
await FileAttachment("./static-tgz/file.txt").text()
))
}});

define({id: "d84cd7fb", inputs: ["FileAttachment","display"], body: async (FileAttachment,display) => {
display(await(
await FileAttachment("static-tar/does-not-exist.txt").text()
await FileAttachment("./static-tar/does-not-exist.txt").text()
))
}});

Expand Down
6 changes: 3 additions & 3 deletions test/output/build/archives.win32/zip.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
import {registerFile} from "./_observablehq/stdlib.js";

registerFile("./static/file.txt", {"name":"./static/file.txt","mimeType":"text/plain","path":"./_file/static/file.d9014c46.txt","lastModified":/* ts */1706742000000});
registerFile("./static/not-found.txt", {"name":"./static/not-found.txt","mimeType":"text/plain","path":"./static/not-found.txt","lastModified":/* ts */1706742000000});
registerFile("./static/not-found.txt", {"name":"./static/not-found.txt","mimeType":"text/plain","path":"./static/not-found.txt"});

define({id: "d3b9d0ee", inputs: ["FileAttachment","display"], body: async (FileAttachment,display) => {
display(await(
await FileAttachment("static/file.txt").text()
await FileAttachment("./static/file.txt").text()
))
}});

define({id: "bab54217", inputs: ["FileAttachment","display"], body: async (FileAttachment,display) => {
display(await(
await FileAttachment("static/not-found.txt").text()
await FileAttachment("./static/not-found.txt").text()
))
}});

Expand Down

0 comments on commit 618c5ad

Please sign in to comment.