1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00

fix linter suggestion

This commit is contained in:
Jean-Baptiste Holcroft 2019-03-10 08:20:59 +01:00
parent 3adff29848
commit df244810fb
3 changed files with 4 additions and 16 deletions

View file

@ -56,7 +56,7 @@
},
{
"name": "github_account",
"type": "text",
"type": "string",
"ask": {
"en": "Github's username"
},
@ -64,7 +64,7 @@
},
{
"name": "github_token",
"type": "text",
"type": "string",
"ask": {
"en": "Github's token (oauth)"
},

View file

@ -6,13 +6,7 @@
# IMPORT GENERIC HELPERS
#=================================================
if [ ! -e _common.sh ]; then
# Get the _common.sh file if it's not in the current directory
cp ../settings/scripts/_common.sh ./_common.sh
chmod a+rx _common.sh
fi
source _common.sh
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers
ynh_abort_if_errors

View file

@ -6,13 +6,7 @@
# IMPORT GENERIC HELPERS
#=================================================
if [ ! -e _common.sh ]; then
# Get the _common.sh file if it's not in the current directory
cp ../settings/scripts/_common.sh ./_common.sh
chmod a+rx _common.sh
fi
source _common.sh
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers
ynh_abort_if_errors