intersystems / intersystems/ipm

Package Manager Does not Allow Empty Directory in Module Manifest

Open
#1,005 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
ObjectScript
Stars
41
Forks
29
Avg merge
23h 54m
Merged PRs (30d)
4

Description

It happens typically when developer creates a unit test class which becomes the first one in the directory, and module manifest is updated to include that path to the unit test.

Later the unit test is found to be unnecessary and thusly removed, causing an empty unit test directory. This may happen frequently during refactoring. However, if the path in the module manifest is not removed to reflect that, it will complain and fail when doing build.

It is reasonable for package manager to have some flexibility dealing with empty directories such as warning in dev mode instead of throwing errors.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.