Minor fix

This commit is contained in:
Vladimir Safonkin
2021-04-19 16:11:14 +03:00
parent 07b4a80293
commit a8c97016ef
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ export function configAuthentication(
) {
const existingNuGetConfig: string = path.resolve(
processRoot,
existingFileLocation == ''
existingFileLocation === ''
? getExistingNugetConfig(processRoot)
: existingFileLocation
);
@ -30,7 +30,7 @@ export function configAuthentication(
function getExistingNugetConfig(processRoot: string) {
const configFileNames = fs
.readdirSync(processRoot)
.filter(filename => filename.toLowerCase() == 'nuget.config');
.filter(filename => filename.toLowerCase() === 'nuget.config');
if (configFileNames.length) {
return configFileNames[0];
}