Open evgenykochetkov opened 4 years ago
When creating a new repository, GitHub suggests calling the default branch main instead of master, and some existing repositories are migrating. We should support both when fetching libraries using #pragma XOD require "link_to_library".
main
master
#pragma XOD require "link_to_library"
Right now, we have master hardcoded in https://github.com/xodio/xod/blob/a7d88dde07e6a4f072a6e4e2d8b7071cd002f0dc/packages/xod-deploy/src/libraryManager.js#L22-L26
When creating a new repository, GitHub suggests calling the default branch
main
instead ofmaster
, and some existing repositories are migrating. We should support both when fetching libraries using#pragma XOD require "link_to_library"
.Right now, we have
master
hardcoded in https://github.com/xodio/xod/blob/a7d88dde07e6a4f072a6e4e2d8b7071cd002f0dc/packages/xod-deploy/src/libraryManager.js#L22-L26