@lotus-tree/fg-notation 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotus-tree/fg-notation",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "main": "src/index.js",
5
5
  "type": "module",
6
6
  "dependencies": {
package/src/index.js CHANGED
@@ -7,7 +7,7 @@ import axios from 'axios'
7
7
  import { GatewayIntentBits, Partials } from 'discord.js'
8
8
  import { readFileSync } from 'fs'
9
9
 
10
- const { sizes, aliases, builtin } = JSON.parse(readFileSync('./info.json'))
10
+ const { sizes, aliases, builtin } = JSON.parse(readFileSync(path.join(__dirname, './info.json')))
11
11
 
12
12
  const getJSON = bent('json')
13
13
  const imgPath = path.join(__dirname, 'img')