Skip to content

Commit a13a814

Browse files
committed
Swift: Update comment
1 parent 9582361 commit a13a814

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎swift/extractor/infra/file/TargetFile.cpp‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ bool TargetFile::init() {
5252
}
5353
CODEQL_EXPECT(errno == EEXIST, "Unable to open {} for writing ({})", targetPath,
5454
currentErrorCode());
55-
// else the file already exists and we just lost the race
55+
// else the file already exists and we just lost the race, or some error occurred
56+
// and the file could not be created
5657
return false;
5758
}
5859

0 commit comments

Comments
 (0)