Skip to content

Commit 5a49c49

Browse files
committed
Fix Error: ENOENT: no such file or directory, open manifests.json
1 parent 771109e commit 5a49c49

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

main.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { LayerCache } from './src/LayerCache'
44
import { ImageDetector } from './src/ImageDetector'
55

66
const main = async () => {
7-
// const repotag = core.getInput(`repotag`, { required: true })
87
const primaryKey = core.getInput(`key`, { required: true })
98
const restoreKeys = core.getInput(`restore-keys`, { required: false }).split(`\n`).filter(key => key !== ``)
109

post.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import * as core from '@actions/core'
2-
import exec from 'actions-exec-listener'
32

43
import { LayerCache } from './src/LayerCache'
54
import { ImageDetector } from './src/ImageDetector'

src/Tar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function assertManifests(x: unknown): asserts x is Manifests {
1414
}
1515

1616
export async function loadRawManifests(path: string) {
17-
return (await fs.readFile(`${path}/manifests.json`)).toString()
17+
return (await fs.readFile(`${path}/manifest.json`)).toString()
1818
}
1919
export async function loadManifests(path: string) {
2020
const raw = await loadRawManifests(path)

0 commit comments

Comments
 (0)