Skip to content

Commit

Permalink
fixed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sajid riaz committed Jan 8, 2024
1 parent 64d16a1 commit a5b2591
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static void main(final String[] args)
}
catch (IOException e)
{
LOG.error("Error converting YAML to Markdown: {}", e.getMessage(), e);
LOG.error("Error converting YAML to Markdown", e);
}
}

Expand All @@ -66,14 +66,14 @@ private static void convertYamlToMarkdown() throws IOException
throw new FileNotFoundException("Resource not found: " + yamlFilePath);
}

boolean skipLicenseHeader = true; // Skip license header
boolean skipLicenseHeader = true;
String line = reader.readLine();
while (line != null)
{
if (skipLicenseHeader && line.startsWith("#"))
{
line = reader.readLine();
continue; // Skip license header lines
continue;
}
skipLicenseHeader = false;

Expand Down

0 comments on commit a5b2591

Please sign in to comment.