mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-01-03 12:42:58 +08:00
audit, lint, format
This commit is contained in:
parent
81d5e48db0
commit
b956d8a4dd
6
package-lock.json
generated
6
package-lock.json
generated
@ -6664,9 +6664,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ip": {
|
"node_modules/ip": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/ip/-/ip-2.0.1.tgz",
|
||||||
"integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==",
|
"integrity": "sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/is-array-buffer": {
|
"node_modules/is-array-buffer": {
|
||||||
|
|||||||
@ -83,7 +83,6 @@ const createTestArchive = async (): Promise<void> => {
|
|||||||
const expectExtractedArchive = async (dir: string): Promise<void> => {
|
const expectExtractedArchive = async (dir: string): Promise<void> => {
|
||||||
for (const file of fixtures.exampleArtifact.files) {
|
for (const file of fixtures.exampleArtifact.files) {
|
||||||
const filePath = path.join(dir, file.path)
|
const filePath = path.join(dir, file.path)
|
||||||
console.log('Checking file:', filePath)
|
|
||||||
expect(fs.readFileSync(filePath, 'utf8')).toEqual(file.content)
|
expect(fs.readFileSync(filePath, 'utf8')).toEqual(file.content)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user