File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -2842,6 +2842,18 @@ def expand_sdk_name(name, activating):
28422842
28432843
28442844def main (args ):
2845+
2846+ if is_emsdk_sourced_from_github ():
2847+ # This code only exists on the master branch
2848+ errlog ('****' )
2849+ errlog ('Warning: You appear to be using the `master` branch of emsdk.' )
2850+ errlog ('We recently made the switch to using `main`' )
2851+ errlog ('In order to continue to receive updates you will need to make the switch locally too.' )
2852+ errlog ('For normal clones without any local branches simply running the following command should be enough:' )
2853+ errlog (' `git checkout main`' )
2854+ errlog ('For more information see https://github.com/emscripten-core/emsdk/issues/805' )
2855+ errlog ('****' )
2856+
28452857 if not args :
28462858 errlog ("Missing command; Type 'emsdk help' to get a list of commands." )
28472859 return 1
You can’t perform that action at this time.
0 commit comments