diff --git a/docs/modules/ROOT/pages/cops_threadsafety.adoc b/docs/modules/ROOT/pages/cops_threadsafety.adoc index 91bea8a..676057c 100644 --- a/docs/modules/ROOT/pages/cops_threadsafety.adoc +++ b/docs/modules/ROOT/pages/cops_threadsafety.adoc @@ -62,6 +62,9 @@ Avoid using `Dir.chdir` due to its process-wide effect. ---- # bad Dir.chdir("/var/run") + +# bad +FileUtils.chdir("/var/run") ---- == ThreadSafety/InstanceVariableInClassMethod