Skip to content

Commit b42e464

Browse files
committed
fix(gen-config): fix 'no such file or directory' error bug
1 parent 41a8026 commit b42e464

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/gen-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const createTypeListNames = (types) => {
3131
}
3232

3333
const typeListChoices = (useEmoji) => {
34-
const typesCsv = fs.readFileSync(path.join('lib', 'types.csv'))
34+
const typesCsv = fs.readFileSync(path.join(__dirname, 'types.csv'))
3535
const types = csvParse(typesCsv, {columns: true})
3636
const names = createTypeListNames(types, useEmoji)
3737

0 commit comments

Comments
 (0)