Skip to content

Commit c086c2e

Browse files
committed
improve docs
1 parent 75ac3e3 commit c086c2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/StdConfig.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ contract StdConfig {
6464
mapping(uint256 => mapping(string => Type)) private _typeOf;
6565

6666
/// @dev When enabled, `set` will always write updates back to the configuration file.
67-
/// Can only be enabled when scripting.
67+
/// Can only be enabled in a scripting context to prevent file corruption from
68+
/// concurrent I/O access, as tests run in parallel.
6869
bool private _writeToFile;
6970

7071
// -- CONSTRUCTOR ----------------------------------------------------------

0 commit comments

Comments
 (0)