Skip to content

pana incorrectly states that a platform isn't supported. #1486

@bsutton

Description

@bsutton

I see a number of packages where pana incorrectly states that a supported platform is not supported.

https://pub.dev/packages/dcli/score

Package does not support platform `Linux`.
Because:

package:dcli/dcli.dart that imports:
package:dcli/src/util/string_as_process.dart that imports:
package:dcli/src/util/runnable_process.dart that imports:
package:dcli/src/process/process/process_in_isolate.dart that imports:
package:dcli/src/process/process/in_isolate/process_runner.dart that imports:
package:dcli_terminal/dcli_terminal.dart that imports:
package:dcli_terminal/src/terminal.dart that imports:
package:dart_console/dart_console.dart that imports:
package:dart_console/src/console.dart that imports:
package:dart_console/src/ffi/win/termlib_win.dart that imports:
package:win32/win32.dart that declares support for platforms: Windows.

Whilst the package does import windows libraries it has conditional code around those components so it does in fact support linux.

I understand what you are trying to do here, but false negatives like these can be damaging to a packages reputation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions