@@ -133,36 +133,36 @@ private static List<string> GetFilesToCheck()
133
133
files . Add ( userSpecifedPath ) ;
134
134
}
135
135
136
- if ( ! string . IsNullOrEmpty ( unixHomeDirectory ) )
136
+ if ( ! string . IsNullOrEmpty ( projectDirectory ) )
137
137
{
138
- var fullPath = Path . GetFullPath ( Path . Combine ( unixHomeDirectory , defaultCredentialFileName ) ) ;
138
+ var fullPath = Path . GetFullPath ( Path . Combine ( projectDirectory , defaultCredentialFileName ) ) ;
139
139
if ( File . Exists ( fullPath ) )
140
140
{
141
141
files . Add ( fullPath ) ;
142
142
}
143
143
}
144
144
145
- if ( ! string . IsNullOrEmpty ( windowsFirstHomeDirectory ) )
145
+ if ( ! string . IsNullOrEmpty ( unixHomeDirectory ) )
146
146
{
147
- var fullPath = Path . GetFullPath ( Path . Combine ( windowsFirstHomeDirectory , defaultCredentialFileName ) ) ;
147
+ var fullPath = Path . GetFullPath ( Path . Combine ( unixHomeDirectory , defaultCredentialFileName ) ) ;
148
148
if ( File . Exists ( fullPath ) )
149
149
{
150
150
files . Add ( fullPath ) ;
151
151
}
152
152
}
153
153
154
- if ( ! string . IsNullOrEmpty ( windowsSecondHomeDirectory ) )
154
+ if ( ! string . IsNullOrEmpty ( windowsFirstHomeDirectory ) )
155
155
{
156
- var fullPath = Path . GetFullPath ( Path . Combine ( windowsSecondHomeDirectory , defaultCredentialFileName ) ) ;
156
+ var fullPath = Path . GetFullPath ( Path . Combine ( windowsFirstHomeDirectory , defaultCredentialFileName ) ) ;
157
157
if ( File . Exists ( fullPath ) )
158
158
{
159
159
files . Add ( fullPath ) ;
160
160
}
161
161
}
162
162
163
- if ( ! string . IsNullOrEmpty ( projectDirectory ) )
163
+ if ( ! string . IsNullOrEmpty ( windowsSecondHomeDirectory ) )
164
164
{
165
- var fullPath = Path . GetFullPath ( Path . Combine ( projectDirectory , defaultCredentialFileName ) ) ;
165
+ var fullPath = Path . GetFullPath ( Path . Combine ( windowsSecondHomeDirectory , defaultCredentialFileName ) ) ;
166
166
if ( File . Exists ( fullPath ) )
167
167
{
168
168
files . Add ( fullPath ) ;
0 commit comments