Skip to content

Commit b0d6d88

Browse files
committed
Fixed bug in env file service
1 parent b6b0c6e commit b0d6d88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Camelot.Services.Environment/Implementations/EnvironmentFileService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public string[] GetFiles(string directory) =>
1313
Directory.GetFiles(directory);
1414

1515
public bool CheckIfExists(string filePath) =>
16-
Directory.Exists(filePath);
16+
File.Exists(filePath);
1717

1818
public void Copy(string source, string destination, bool overwrite) =>
1919
File.Copy(source, destination, overwrite);

0 commit comments

Comments
 (0)