Refactor edts-code--modules-in-dir