Skip to content

No error when module specification is "@" #362

@xdelaruelle

Description

@xdelaruelle

When the module specification passed for instance to a module load command is equal to @ and advanced_version_spec is enabled, no error is reported and module specification is ignored.

$ module -V
Modules Release 4.6.0 (2020-09-16)
$ module load @
ERROR: Unable to locate a modulefile for '@'
$ module config advanced_version_spec 1
$ module load @
$ module load @ foo
ERROR: Unable to locate a modulefile for 'foo'
$ ml @
$ ml @ foo
ERROR: Unable to locate a modulefile for 'foo'

As @ is an incorrect specification, as no module name is defined, an error should be reported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions