Skip to content

Use intl_utils version resolved in pubspec.lock #109

Description

@miDeb

The extension seems to look at the version specified in pubspec.yaml to decide which version of intl_utils to use. However, this might not be the exact version that would be used when running dart run intl_utils:generate.

For example: pubspec.yaml has intl_utils: ^2.7.0, but the resolved version in pubspec.lock is version: "2.8.3" (because the version constraint allows for this newer version).
Therefore, I believe this extension should look at the exact version in pubspec.lock to decide which version to use. This avoids the extension from generating different code than you would get from the command line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions