From 9181e08814182c6db686296de48524a24831bec6 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 19 Mar 2019 00:10:26 +0100 Subject: [PATCH] Report "source _common.sh" as warning instead of error --- package_linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_linter.py b/package_linter.py index ef1dd19..0d18a04 100755 --- a/package_linter.py +++ b/package_linter.py @@ -608,7 +608,7 @@ class Script(): if self.name in ["backup", "restore"]: if self.contains("source _common.sh") or self.contains("source ./_common.sh"): - print_error("In the context of backup and restore script, you should load _common.sh with \"source ../settings/scripts/_common.sh\"") + print_warning("In the context of backup and restore script, you should load _common.sh with \"source ../settings/scripts/_common.sh\"") def main():