Skip to content

Commit d17c8fc

Browse files
committed
fix lint error
Signed-off-by: Akihiko Kuroda <akihikokuroda2020@gmail.com>
1 parent ae0d132 commit d17c8fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pkg/maestro/create_agents_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ func TestCreateAgents(t *testing.T) {
2020

2121
// Restore the original agents.db file if it existed
2222
if hasOriginalDB {
23-
os.WriteFile("agents.db", originalDB, 0644)
23+
if err := os.WriteFile("agents.db", originalDB, 0644); err != nil {
24+
t.Logf("Failed to restore original agents.db file: %v", err)
25+
}
2426
}
2527
}()
2628

0 commit comments

Comments
 (0)