command line – Bash script to start venv in VSCode

I’m following a tutorial from a windows guy creating a bash script to start Virtualenvironment in VScode.

Here is my script and the file is open_project.sh :

 #!/bin/bash
    cd /home/fablab/Desktop/dev/mycoffee/venv
    source bin/activate && code .

I expect this result :

VScode venv ok

But I get this behavior :

VScode venv nok

Any idea ?