Skip to content

Commit

Permalink
Merge pull request OpenEmojiBattler#77 from tash-2s/fix-errors
Browse files Browse the repository at this point in the history
Fix errors
  • Loading branch information
tash-2s authored Feb 8, 2022
2 parents 646d9d9 + d07a098 commit 58f1ddf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ make dev
### Update chain game data

```
cd data
cd chain/scripts
yarn install
yarn seed:dev
yarn seed-data:dev
```

### Serve web
Expand Down
2 changes: 1 addition & 1 deletion chain/scripts/seedData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const main = async () => {
process.argv[2],
process.argv[3]
)
const bases = loadEmoBases(readFileSync("./emoBases.json", "utf8"))
const bases = loadEmoBases(readFileSync("../../data/emoBases.json", "utf8"))

await connected(endpoint, async (api) => {
const h = await sudo(
Expand Down
2 changes: 1 addition & 1 deletion chain/scripts/updateData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const main = async () => {
process.argv[2],
process.argv[3]
)
const emoBases = loadEmoBases(readFileSync("./emoBases.json", "utf8"))
const emoBases = loadEmoBases(readFileSync("../../data/emoBases.json", "utf8"))

await connected(endpoint, async (api) => {
const {
Expand Down

0 comments on commit 58f1ddf

Please sign in to comment.