Skip to content

Incorrect name of the ModifiableScheduledTask parameter. #28

Description

@hasksomatotoian

Steps to Reproduce

Run SharpUp with the ModifiableScheduledTask parameter and verify that no checks were run:

[*] Audit mode: running an additional 0 check(s).

Root Cause of the Issue

That's because the check class is named differently, ModifiableScheduledTaskFile (notice the File at the end), so the ModifiableScheduledTask parameter does not invoke it.

Proposed Solution

There are two options for solving this:

  • Rename the parameter in the documentation from ModifiableScheduledTask to ModifiableScheduledTaskFile
  • Rename the check class to ModifiableScheduledTask

I propose choosing the latter option, as it is a quick internal change and people won't have to modify their scripts and checklists (even if they haven't worked so far).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions