From a8b3716662060bc3437ddc4e432ec276060caeec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannis=20Mo=C3=9Fhammer?= Date: Thu, 29 Aug 2013 14:11:29 +0200 Subject: [PATCH] Fix checkswag not testing jshint correctly The path was wrong, now it is correct. refs #4617 --- test/js/checkswag | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/js/checkswag b/test/js/checkswag index fec7a3f5e..375a25639 100755 --- a/test/js/checkswag +++ b/test/js/checkswag @@ -113,8 +113,8 @@ def main(): for a in arguments[:len(arguments)] if os.path.isfile(a) or os.path.isdir(a)] if not path_args: - path_args = ['../../application', '../../bin', - '../../library/Icinga'] + path_args = ['../../public/js/icinga', '../../bin', + '../../modules/'] if options.include: path_args = [os.path.join(r, f) for a in path_args @@ -143,6 +143,7 @@ def main(): with open(result_path, 'w') as result_file: result_file.write(result_data) else: + print (application_path ) execute_command([application_path] + DEFAULT_ARGS + command_options + arguments + path_args) return 0