You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran npm run generateJson and npm run generateNativeCode many times but the opts argument wouldn't become optional in the generated C++ file. I finally realized I made a typo. I named the argument opts: instead of opts! :(
We should change the generator so that it will generate warnings if a specified argument's name doesn't match what's declared in libgit2.
The text was updated successfully, but these errors were encountered:
I had the following in my descriptor.json file:
I ran
npm run generateJson
andnpm run generateNativeCode
many times but theopts
argument wouldn't become optional in the generated C++ file. I finally realized I made a typo. I named the argumentopts:
instead ofopts
! :(We should change the generator so that it will generate warnings if a specified argument's name doesn't match what's declared in libgit2.
The text was updated successfully, but these errors were encountered: