Merge pull request #39 from KasperskyLab/dev

Adding npm audit fix to the install script
This commit is contained in:
Félix Aimé 2021-01-27 16:28:04 +01:00 committed by GitHub
commit c5c73f981d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -265,10 +265,10 @@ check_dependencies() {
}
compile_vuejs() {
# Compile VueJS interfaces.
# Installing packages, updating packages and compiling the VueJS interfaces
echo -e "\e[39m[+] Compiling VueJS projects"
cd /usr/share/tinycheck/app/backend/ && npm install && npm run build
cd /usr/share/tinycheck/app/frontend/ && npm install && npm run build
cd /usr/share/tinycheck/app/backend/ && npm install && npm audit fix && npm run build
cd /usr/share/tinycheck/app/frontend/ && npm install && npm audit fix && npm run build
}
create_desktop() {