Skip to content

Commit b786c8d

Browse files
committed
Updated to add only .log files
1 parent ba30dd4 commit b786c8d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bundles/com.espressif.idf.core/src/com/espressif/idf/core/bug/BugReportGenerator.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,12 @@ private List<File> getIdeMetadataLogsFile()
157157
{
158158
continue;
159159
}
160-
161160
String fileName = file.getName();
162161
if (fileName.equals("version.ini")) //$NON-NLS-1$
163162
{
164163
logFiles.add(file);
165164
continue;
166165
}
167-
168166
if (fileName.endsWith(ECLIPSE_LOG_FILE_NAME))
169167
{
170168
if (fileName.equals(ECLIPSE_LOG_FILE_NAME))
@@ -286,7 +284,6 @@ public String generateBugReport()
286284
{
287285
FileUtil.copyFile(logFile, new File(ideLogDir.getAbsolutePath() + File.separator + logFile.getName()));
288286
}
289-
290287
File eimLogPath = getEimLogPath();
291288
Logger.log("EIM log path: " + eimLogPath.getAbsolutePath()); //$NON-NLS-1$
292289
File eimLogDir = new File(bugReportDirectory.getAbsolutePath() + File.separator + "eim_logs"); //$NON-NLS-1$ )

0 commit comments

Comments
 (0)