CodeMod: dynamic-init-list-ctor
Summary:
CodeMod: `dynamic-init-list-ctor`.
The `folly::dynamic::dynamic(std::initializer_list<folly::dynamic>)` constructor is deprecated because its meaning is ambiguous and variable across compilers and compiler versions.
This diff codemods uses of that constructor to use `folly::dynamic::array<...>(...)` instead.
This codemod may not get 100%, but that's okay. Any amount helps.
Reviewed By: ot
Differential Revision:
D4013979
fbshipit-source-id:
c6873dbc8027b38e71a0f291466ed2d9bd204a53