vgvassilev / cling

The interactive C++ interpreter Cling
https://rawgit.com/vgvassilev/cling/master/www/index.html
Other
1.77k stars 100 forks source link

Fix cpt.py a careless mistake #196

Closed StrayDragon closed 5 years ago

StrayDragon commented 5 years ago

When I attempted to run the cling package tool (cpt.py), use the command:

./cpt.py --check-requirements && ./cpt.py --create-dev-env Debug --with-workdir=./cling-build/

I submitted yes to the prompt and then encountered an exception(NoneType). After checked the code,I found the problem is missing a return keyword in custom_input().

Thanks for your code, It helped me a lot! :smile: