From 618c5addc74caa64f2255b3a1ecce6c1ef8ca5c2 Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Fri, 15 Mar 2024 16:20:15 -0700 Subject: [PATCH] fix archives.win32 snapshot? --- test/output/build/archives.win32/tar.html | 8 ++++---- test/output/build/archives.win32/zip.html | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/output/build/archives.win32/tar.html b/test/output/build/archives.win32/tar.html index 910eb3e19..48a11837c 100644 --- a/test/output/build/archives.win32/tar.html +++ b/test/output/build/archives.win32/tar.html @@ -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() )) }}); diff --git a/test/output/build/archives.win32/zip.html b/test/output/build/archives.win32/zip.html index 8c8e42d1c..91990e76a 100644 --- a/test/output/build/archives.win32/zip.html +++ b/test/output/build/archives.win32/zip.html @@ -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() )) }});