Force all scope names to be lowercased (#39)

Fixes #38
This commit is contained in:
James M. Greene authored and Danny McCormick committed 2019-08-21 22:46:35 -04:00
1 parent 3d792c1dbd
commit d43864199a
4 files changed
+9 -3

No files matched your search

+3
View File
@@ -24,6 +24,9 @@ function writeRegistryToFile(registryUrl: string, fileLocation: string) {
if (scope && scope[0] != '@') {
scope = '@' + scope;
}
if (scope) {
scope = scope.toLowerCase();
}
core.debug(`Setting auth in ${fileLocation}`);
let newContents: string = '';