mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Complain about ynh_npm install --global é_è
This commit is contained in:
parent
f8f381633e
commit
5d2c46a002
1 changed files with 5 additions and 0 deletions
|
@ -2756,6 +2756,11 @@ class Script(TestSuite):
|
|||
"The --keep option of ynh_setup_source expects relative paths, not absolute path ... you do not need to prefix everything with '$final_path' in the --keep arg ..."
|
||||
)
|
||||
|
||||
@test()
|
||||
def ynh_npm_global(self):
|
||||
if self.containsregex(r"ynh_npm.*install.*global"):
|
||||
yield Warning("Please don't install stuff on global scope with npm install --global é_è")
|
||||
|
||||
@test()
|
||||
def ynh_add_fpm_config_deprecated_package_option(self):
|
||||
if self.containsregex(r"ynh_add_fpm_config .*package=.*"):
|
||||
|
|
Loading…
Reference in a new issue