diff --git a/.github/workflows/publish-modules.yml b/.github/workflows/publish-modules.yml index f104a758..da6c885f 100644 --- a/.github/workflows/publish-modules.yml +++ b/.github/workflows/publish-modules.yml @@ -65,7 +65,7 @@ jobs: echo "module_path=${{ github.event.inputs.module_path }}" >> "$GITHUB_OUTPUT" - name: Sign module manifest (optional) - if: secrets.SPECFACT_MODULE_PRIVATE_SIGN_KEY != "" + if: env.SPECFACT_MODULE_PRIVATE_SIGN_KEY != '' run: | if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then MODULE_PATH="${{ github.event.inputs.module_path }}" diff --git a/src/specfact_cli/utils/startup_checks.py b/src/specfact_cli/utils/startup_checks.py index b10d11e8..e1cd4281 100644 --- a/src/specfact_cli/utils/startup_checks.py +++ b/src/specfact_cli/utils/startup_checks.py @@ -372,7 +372,7 @@ def print_startup_checks( f"IDE: [cyan]{template_result.ide}[/cyan]\n" f"Location: [dim]{template_result.ide_dir}[/dim]\n\n" f"{details_str}\n\n" - f"Run [bold]specfact init --force[/bold] to update them.", + f"Run [bold]specfact init ide --force[/bold] to update them.", border_style="yellow", ) ) diff --git a/tests/unit/utils/test_startup_checks.py b/tests/unit/utils/test_startup_checks.py index 7aa95f70..e05c1fd0 100644 --- a/tests/unit/utils/test_startup_checks.py +++ b/tests/unit/utils/test_startup_checks.py @@ -522,6 +522,7 @@ def test_print_startup_checks_outdated_templates( # It's a Panel, check its renderable content renderable_str = str(arg.renderable) if "IDE Templates Outdated" in renderable_str: + assert "specfact init ide --force" in renderable_str return elif isinstance(arg, str) and "IDE Templates Outdated" in arg: return