Skip to content

Commit ad4ce11

Browse files
committed
Update todo
1 parent f9d5365 commit ad4ce11

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/utils/File.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,9 @@ int File::createDirPath() {
104104
while (pos != std::string::npos) {
105105
std::string dir = _path.substr(0, pos);
106106
if (dir != "" && !File(dir).exists())
107-
if (mkdir(dir.c_str(), 0755) != 0)
108-
return -1; // TODO: Possibly find alternative
107+
if (mkdir(dir.c_str(), 0755) !=
108+
0) // Needed only for non subject bonus functionality
109+
return -1;
109110
pos = _path.find_first_of('/', pos + 1);
110111
}
111112
return 0;

0 commit comments

Comments
 (0)