Skip to content

Commit dcc1e77

Browse files
committed
chore: drop some test code
1 parent d6b8646 commit dcc1e77

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

packages/runtime/src/helpers/files.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,6 @@ export const moveStaticPages = async ({
137137
source,
138138
}
139139
}
140-
if (netliBlob) {
141-
await netliBlob.setJSON(getNormalizedBlobKey('test1'), 'ok')
142-
await netliBlob.setJSON(getNormalizedBlobKey('/test2'), 'ok')
143-
console.log(`added test blob keys`)
144-
}
145140

146141
const moveFile = async (file: string) => {
147142
const { source, targetPath } = getSourceAndTargetPath(file)

packages/runtime/src/templates/getHandler.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -164,17 +164,6 @@ const makeHandler = ({
164164
siteID: event.headers['x-nf-site-id'],
165165
})
166166

167-
{
168-
let t1 = 'N/A'
169-
let t2 = 'N/A'
170-
try {
171-
t1 = await netliBlob.get(getNormalizedBlobKey('test1'), { type: 'json' })
172-
t2 = await netliBlob.get(getNormalizedBlobKey('/test2'), { type: 'json' })
173-
} finally {
174-
console.log(`blob tests`, { t1, t2 })
175-
}
176-
}
177-
178167
let key = event.path
179168
const blobRewrite = blobManifest.get(key)
180169
if (blobRewrite) {

0 commit comments

Comments
 (0)