Currently the check for License.txt is case sensitive, so other variations, including license.txt are not found. This results in an error message specifying that there is no License.txt file, when in fact there is. This PR loops through all files at the root of a module to search for a case insensitive License.txt.
This change can only be tested interactively due to prompting.
If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.
PR Summary
Currently the check for
License.txt
is case sensitive, so other variations, includinglicense.txt
are not found. This results in an error message specifying that there is noLicense.txt file
, when in fact there is. This PR loops through all files at the root of a module to search for a case insensitiveLicense.txt
.This change can only be tested interactively due to prompting.
PR Context
Resolves #1729
PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
or[ WIP ]
to the beginning of the title (theWIP
bot will keep its status check atPending
while the prefix is present) and remove the prefix when the PR is ready.