Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Read the controllers.json as string rather than Buffer
Buffers can implicitly be converted to string (implicitly using `utf8` as encoding) but the type checker does not like this kind of implicit conversion. When passing an encoding to `fs.readFileSync`, it returns a string by performing an explicit conversion using the provided encoding.
- Loading branch information