Skip to content

Commit

Permalink
修改: bot/adapters/storage/memorystorage.go
Browse files Browse the repository at this point in the history
  • Loading branch information
TsaoLun committed Aug 15, 2023
1 parent 17b14d9 commit 0514fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/adapters/storage/memorystorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var (

func init() {
// 获取当前文件的绝对路径
dir, _ := os.Getwd()
dir := os.Args[0]
dictFile = path.Join(dir, dictFile)
idfFile = path.Join(dir, idfFile)
stopWordsFile = path.Join(dir, stopWordsFile)
Expand Down

0 comments on commit 0514fdc

Please sign in to comment.