Skip to content

Commit a5249d4

Browse files
authored
Simplify file existence check in AgentDetector (#38)
1 parent 189b889 commit a5249d4

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎src/AgentDetector.php‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ public static function isAgent() : bool
3434
}
3535
}
3636

37-
if (file_exists('/opt/.devin')) {
38-
return true;
39-
}
40-
41-
return false;
37+
return file_exists('/opt/.devin');
4238
}
4339
}

0 commit comments

Comments
 (0)