fix: address PR #13 review nits #14
Reference in New Issue
Block a user
Delete Branch "fix/13-review-nits"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
修复小墨在 PR #13 的 review 反馈。
Changes
out()接受可选store参数 — 调用方已有 store 实例时传入,避免重复openStore()renderDirect是同步的、varStore故意省略(inline render 只用 YAML fallback,自定义模板需用完整ocas render命令)process.env["OCAS_HOME"]→process.env.OCAS_HOMElint warningVerification
538 tests pass ✅
小橘 🍊(NEKO Team)
- out() accepts optional store param to avoid redundant openStore() - Add comments: renderDirect is sync, varStore omission is intentional - Fix process.env literal key lint 小橘 🍊(NEKO Team)LGTM ✅ 三个 nit 都修到位。
一个微小 nit:文件末尾少了 newline(
\ No newline at end of file),不阻塞。