Skip to content

Commit 3f9aa08

Browse files
simongdaviesCopilot
andcommitted
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
1 parent 5ca54f1 commit 3f9aa08

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/hyperlight-js/examples/user_modules/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,6 @@ fn main() -> Result<()> {
264264
let store_all = loaded.handle_event("store_get", r#"{"key": "year"}"#.to_string(), None)?;
265265
println!(" Get(year): {store_all}");
266266

267-
println!("\n✅ User modules example complete!\"Life moves pretty fast. If you don't stop and share state once in a while, you could miss it.\"");
267+
println!("\n✅ User modules example complete!");
268268
Ok(())
269269
}

src/js-host-api/examples/user-modules.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,7 @@ async function main() {
180180
const r2 = await loaded2.callHandler('reader', {});
181181
console.log(` Reader sees → count=${r2.count} (should be 2)`);
182182

183-
console.log(
184-
'\n✅ User modules example complete! — "Life moves pretty fast. If you don\'t stop and share state once in a while, you could miss it."'
185-
);
183+
console.log('\n✅ User modules example complete! All handlers executed successfully.');
186184
}
187185

188186
main().catch((err) => {

0 commit comments

Comments
 (0)