docs: clarify isRooted result field in README - #3
Conversation
|
No actionable comments were generated in the recent review. 🎉 📝 WalkthroughWalkthroughDocumentation update to README.md adding an example for isRooted() usage and a clarification that DetectionResult's Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
Verify each finding against the current code and only fix it if needed.
In `@README.md`:
- Line 99: The README imports the IsRoot symbol from the wrong module name;
update the import statement that references IsRoot so it matches the installed
package scope by changing the module path from "capacitor-is-root" to
"@capgo/capacitor-is-root" wherever the import for IsRoot is used (e.g., the
line that currently reads import { IsRoot } from 'capacitor-is-root';).
|
Fixed ✅ Updated the README example import to use in commit 0ba3e9c. |
|
Fixed ✅ Updated the README example import to use "@capgo/capacitor-is-root" in commit 0ba3e9c. |
Summary
isRooted()usage example in READMEDetectionResultuses theresultboolean fieldFixes confusion reported in #2.
Summary by CodeRabbit