Skip to content

Commit d7feb78

Browse files
authored
Merge pull request #10 from kleros/feat/volta
Feat/volta
2 parents 37dffcb + 67b552d commit d7feb78

File tree

4 files changed

+2509
-412
lines changed

4 files changed

+2509
-412
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ yarn-error.log
55
.vscode
66
!.gitkeep
77
images
8-
db
8+
db
9+
.yarn

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "t2cr-to-ipfs",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Pulls token information from the kleros t2cr and publishes them to ipfs following uniswap/token-lists schema.",
55
"main": "src/index.ts",
66
"repository": "git+https://github.com/kleros/t2cr-to-ipfs",
@@ -44,5 +44,9 @@
4444
"lodash": "^4.17.19",
4545
"node-fetch": "^2.6.0",
4646
"sharp": "^0.32.6"
47+
},
48+
"volta": {
49+
"node": "16.20.2",
50+
"yarn": "1.22.22"
4751
}
4852
}

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ async function main() {
7474
const imageSharp = sharp(imageBuffer)
7575
const metadata = await imageSharp.metadata()
7676

77-
console.info(`Image metadata:`, metadata)
77+
console.debug(`Image metadata:`, metadata)
7878

7979
if (!metadata.format) {
8080
throw new Error('Unsupported image format')

0 commit comments

Comments
 (0)