mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-19 12:54:45 +00:00
parent
3d792c1dbd
commit
d43864199a
4 changed files with 9 additions and 3 deletions
|
@ -28,6 +28,9 @@ function writeRegistryToFile(registryUrl, fileLocation) {
|
|||
if (scope && scope[0] != '@') {
|
||||
scope = '@' + scope;
|
||||
}
|
||||
if (scope) {
|
||||
scope = scope.toLowerCase();
|
||||
}
|
||||
core.debug(`Setting auth in ${fileLocation}`);
|
||||
let newContents = '';
|
||||
if (fs.existsSync(fileLocation)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue