Maybe file check bug

  • Автор темы Автор темы lokiys
  • Дата начала Дата начала

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 921
Реакции
1 206
Баллы
113
I'm actually not sure is this bug or not because I'm using c# for that, and then there is no problems of course.

I'm talking about check if file exist action - when i use that then i'm getting in logs - File exist of file not exist, but how is possible to determine next actions after that ?
If file not exist then i guess there should be unsuccessful exist from this action, but there is success exit in both cases.

Cheers
 
Just an example if it is not clear what I'm talking about...


Посмотреть вложение CheckFileBug.zip

And workaround if this cause problems for anybody...


JavaScript:
Развернуть Свернуть Копировать
return System.IO.File.Exists(project.Directory+@"\CheckThis.txt");
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)