diff --git a/core/plugins/stack/css/linters.ts b/core/plugins/stack/css/linters.ts index cd04617..6976849 100644 --- a/core/plugins/stack/css/linters.ts +++ b/core/plugins/stack/css/linters.ts @@ -28,7 +28,7 @@ export const introspect: IntrospectFn = async (context) => { if (anyValue(linters)) return linters; if (context.suggestDefault) { - logger.warning("No CSS linter detected, using stylelint"); + logger.warning("No CSS linter detected, using Stylelint"); return { stylelint: { name: "stylelint" }, }; diff --git a/core/plugins/stack/markdown/mod.ts b/core/plugins/stack/markdown/mod.ts index 9a7ea5f..f76744c 100644 --- a/core/plugins/stack/markdown/mod.ts +++ b/core/plugins/stack/markdown/mod.ts @@ -9,8 +9,7 @@ export const introspector: Introspector = { }, introspect: async (context) => { const logger = await context.getLogger("markdown"); - logger.info("Detected Markdown File"); - + logger.debug("detected markdown file"); return {}; }, }; diff --git a/core/plugins/stack/python/formatters.ts b/core/plugins/stack/python/formatters.ts index 6f2150f..0caa71b 100644 --- a/core/plugins/stack/python/formatters.ts +++ b/core/plugins/stack/python/formatters.ts @@ -20,7 +20,7 @@ export const introspect: IntrospectFn = async (context) => { } else { if (context.suggestDefault) { logger.warning( - "No formatters for python were identified in the project, creating default pipeline with 'black' WITHOUT any specific configuration", + "No Python formatter detected, using Black", ); formatters.black = { isDependency: false, @@ -35,7 +35,7 @@ export const introspect: IntrospectFn = async (context) => { } else { if (context.suggestDefault) { logger.warning( - "No formatters for python were identified in the project, creating default pipeline with 'isort' WITHOUT any specific configuration", + "No Python linter detected, using isort", ); formatters.isort = { isDependency: false, diff --git a/core/plugins/stack/python/linters.ts b/core/plugins/stack/python/linters.ts index 92f6655..e274c93 100644 --- a/core/plugins/stack/python/linters.ts +++ b/core/plugins/stack/python/linters.ts @@ -23,7 +23,7 @@ export const introspect: IntrospectFn = async (context) => { } else { if (context.suggestDefault) { logger.warning( - "No linters for python were identified in the project, creating default pipeline with 'flake8' WITHOUT any specific configuration", + "No Python linter detected, using Flake8", ); linters.flake8 = { isDependency: false, @@ -43,7 +43,7 @@ export const introspect: IntrospectFn = async (context) => { } else { if (context.suggestDefault) { logger.warning( - "No linters for python were indentified in the project, creating default with 'bandit' WITHOUT any specific configuration", + "No Python linter detected, using Bandit", ); linters.bandit = { isDependency: false, diff --git a/core/plugins/stack/ruby/formatters.ts b/core/plugins/stack/ruby/formatters.ts index a229cd3..4ca60e7 100644 --- a/core/plugins/stack/ruby/formatters.ts +++ b/core/plugins/stack/ruby/formatters.ts @@ -17,7 +17,7 @@ export const introspect: IntrospectFn = async (context) => { } else { if (context.suggestDefault) { logger.warning( - "No formatters for ruby were identified in the project, creating default pipeline with 'Rubocop' WITHOUT any specific configuration", + "No Ruby formatter detected, using Rubocop", ); formatters.rubocop = { isDependency: false, diff --git a/core/plugins/stack/ruby/linters.ts b/core/plugins/stack/ruby/linters.ts index ee8f4a7..862641e 100644 --- a/core/plugins/stack/ruby/linters.ts +++ b/core/plugins/stack/ruby/linters.ts @@ -16,7 +16,7 @@ export const introspect: IntrospectFn = async (context) => { } else { if (context.suggestDefault) { logger.warning( - "No linters for ruby were identified in the project, creating default pipeline with 'Rubocop' WITHOUT any specific configuration", + "No Ruby linter detected, using Rubocop", ); linters.rubocop = { isDependency: false, diff --git a/core/plugins/stack/ruby/mod.ts b/core/plugins/stack/ruby/mod.ts index f220126..3a55548 100644 --- a/core/plugins/stack/ruby/mod.ts +++ b/core/plugins/stack/ruby/mod.ts @@ -32,7 +32,6 @@ export const introspector: Introspector = { }, introspect: async (context) => { const logger = context.getLogger("ruby"); - logger.info("Detected Ruby File"); // Version logger.debug("detecting version"); diff --git a/tests/default_test.ts b/tests/default_test.ts index c818602..72189ef 100644 --- a/tests/default_test.ts +++ b/tests/default_test.ts @@ -45,11 +45,11 @@ test( ); assertStringIncludes( stdout, - "No linters for python were identified in the project, creating default pipeline with 'flake8' WITHOUT any specific configuration", + "No Python linter detected, using Flake8", ); assertStringIncludes( stdout, - "No formatters for python were identified in the project, creating default pipeline with 'black' WITHOUT any specific configuration", + "No Python formatter detected, using Black", ); assertEquals(code, 0); await assertExpectedFiles(); @@ -62,11 +62,11 @@ test( assertStringIncludes(stdout, "Detected stack: python"); assertStringIncludes( stdout, - "No linters for python were identified in the project, creating default pipeline with 'flake8' WITHOUT any specific configuration", + "No Python linter detected, using Flake8", ); assertStringIncludes( stdout, - "No formatters for python were identified in the project, creating default pipeline with 'isort' WITHOUT any specific configuration", + "No Python linter detected, using isort", ); assertEquals(code, 0); await assertExpectedFiles(); @@ -80,15 +80,15 @@ test( assertStringIncludes( stdout, - "No linters for python were identified in the project, creating default pipeline with 'flake8' WITHOUT any specific configuration", + "No Python linter detected, using Flake8", ); assertStringIncludes( stdout, - "No formatters for python were identified in the project, creating default pipeline with 'black' WITHOUT any specific configuration", + "No Python formatter detected, using Black", ); assertStringIncludes( stdout, - "No formatters for python were identified in the project, creating default pipeline with 'isort' WITHOUT any specific configuration", + "No Python linter detected, using isort", ); assertEquals(code, 0); await assertExpectedFiles(); @@ -154,7 +154,7 @@ test( assertStringIncludes(stdout, "Detected stack: markdown, python, shell"); assertStringIncludes( stdout, - "No formatters for python were identified in the project, creating default pipeline with 'black' WITHOUT any specific configuration", + "No Python formatter detected, using Black", ); assertEquals(code, 0); await assertExpectedFiles(); @@ -184,7 +184,7 @@ test( assertStringIncludes(stdout, "Detected stack: python"); assertStringIncludes( stdout, - "No formatters for python were identified in the project, creating default pipeline with 'black' WITHOUT any specific configuration", + "No Python formatter detected, using Black", ); assertEquals(code, 0); await assertExpectedFiles();