Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

实现严格模式 #12

Closed
Tracked by #16
ilharp opened this issue Apr 29, 2022 · 1 comment
Closed
Tracked by #16

实现严格模式 #12

ilharp opened this issue Apr 29, 2022 · 1 comment
Assignees
Labels
roadmap Part of roadmap
Milestone

Comments

@ilharp
Copy link
Member

ilharp commented Apr 29, 2022

严格模式(Strict Mode)是 Koi 配置内的字段之一。严格模式开启时,Koi 会尽一切可能阻止其自身或其子进程访问用户环境,即使这会阻止某些 Koishi 功能的正常运行。

该模式默认关闭。即、koi.yml 不配置 strict 字段时,该模式关闭。

在 Koi v0.0.x,严格模式会在产物中默认开启。可将 koi.yml 中的 strict 选项置否以关闭此功能。

建议 Koi 开发者在开发时始终启用此功能。

@ilharp ilharp added the roadmap Part of roadmap label Apr 29, 2022
@ilharp ilharp self-assigned this Apr 29, 2022
@ilharp ilharp closed this as completed in 6b57d4f Apr 29, 2022
@ilharp
Copy link
Member Author

ilharp commented Apr 29, 2022

开启严格模式会导致 CI 运行失败(better-sqlite3 无法构建)。关闭该模式。

@ilharp ilharp mentioned this issue Apr 29, 2022
10 tasks
@ilharp ilharp added this to the v0.0.3 milestone Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
roadmap Part of roadmap
Projects
Development

No branches or pull requests

1 participant