mirror of
https://github.com/enso-org/enso.git
synced 2025-01-04 22:44:18 +03:00
5f1333a519
This makes it consistent with the indentation style of GUI2. # Important Notes - This commit *will* need to be added to [`.git-blame-ignore-revs`](https://github.com/enso-org/enso/blob/develop/.git-blame-ignore-revs) *after* it is merged. - This shouldn't need any particular QA (although QA doesn't hurt), as the only thing that was done is a `npx prettier -w .`, meaning that there should be zero logic changes.
16 lines
441 B
TypeScript
16 lines
441 B
TypeScript
/** @file Temporary file to print base64 of a png file. */
|
|
import * as fs from 'node:fs/promises'
|
|
|
|
const ROOT = './test-results/'
|
|
|
|
for (const childName of await fs.readdir(ROOT)) {
|
|
const childPath = ROOT + childName
|
|
for (const fileName of await fs.readdir(childPath)) {
|
|
const filePath = childPath + '/' + fileName
|
|
const file = await fs.readFile(filePath)
|
|
console.log(filePath, file.toString('base64'))
|
|
}
|
|
}
|
|
|
|
process.exit(1)
|