Skip to content

Commit 5f48543

Browse files
committed
Fixing issue #4
1 parent 6f6a253 commit 5f48543

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

CHANGELOG.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,23 @@ All notable changes to this project will be documented in this file.
55

66
This changelog was automatically generated using [Caretaker](https://github.com/DevelopersToolbox/caretaker) by [Wolf Software](https://github.com/WolfSoftware)
77

8-
### [v0.1.3](https://github.com/DevelopersToolbox/ini-file-parser/compare/v0.1.2...v0.1.3)
8+
### [Unreleased](https://github.com/DevelopersToolbox/ini-file-parser/compare/v0.1.3...HEAD)
9+
10+
- Fixing issue #4 [`[head]`](https://github.com/DevelopersToolbox/ini-file-parser/commit/)
11+
12+
### [v0.1.2](https://github.com/DevelopersToolbox/ini-file-parser/compare/v0.1.1...v0.1.2)
913

1014
> Released on January, 6th 2022
1115
12-
- Updated for further security fixes [`[head]`](https://github.com/DevelopersToolbox/ini-file-parser/commit/)
16+
- Updated for further security fixes [`[6f6a253]`](https://github.com/DevelopersToolbox/ini-file-parser/commit/6f6a253155112fcac743e4a2aff0200df56c90de)
1317

14-
### [v0.1.2](https://github.com/DevelopersToolbox/ini-file-parser/compare/v0.1.1...v0.1.2)
18+
### [v0.1.1](https://github.com/DevelopersToolbox/ini-file-parser/compare/v0.1.0...v0.1.1)
1519

1620
> Released on January, 4th 2022
1721
1822
- Additional security fix [`[c5b29ac]`](https://github.com/DevelopersToolbox/ini-file-parser/commit/c5b29acc99feda7e1e66b8ae405fb1778510da3e)
1923

20-
### [v0.1.1](https://github.com/DevelopersToolbox/ini-file-parser/compare/v0.1.0...v0.1.1)
24+
### [v0.1.0](https://github.com/DevelopersToolbox/ini-file-parser/releases/v0.1.0)
2125

2226
> Released on January, 3rd 2022
2327
@@ -33,9 +37,5 @@ This changelog was automatically generated using [Caretaker](https://github.com/
3337

3438
- Rename tests -> demos to be more in line with other projects [`[a7ef94a]`](https://github.com/DevelopersToolbox/ini-file-parser/commit/a7ef94a39834afc7931bb41b5071b9fed6b3d067)
3539

36-
### [v0.1.0](https://github.com/DevelopersToolbox/ini-file-parser/releases/v0.1.0)
37-
38-
> Released on February, 18th 2021
39-
4040
- The initial commit [`[1be9f73]`](https://github.com/DevelopersToolbox/ini-file-parser/commit/1be9f731866391877af53f826b5d4147fe6a7a12)
4141

src/ini-file-parser.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ function process_ini_file()
246246
while read -r line; do
247247
line_number=$((line_number+1))
248248

249-
if [[ $line =~ ^# || -z $line ]]; then # Ignore comments / empty lines
249+
if [[ $line =~ ^# || $line =~ ^\; || -z $line ]]; then # Ignore comments / empty lines
250250
continue;
251251
fi
252252

0 commit comments

Comments
 (0)