Skip to content

Commit

Permalink
v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic committed Feb 17, 2020
1 parent 9ad4a6f commit e52c5a5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
v1.0.1 - February 17, 2020
=================
Fixed bug when one dir's name starts with another dir's name.

For example, `/abc` was mistakenly calculated as the `commonDir` for:

```
/abc/file1
/abcd/file2
```

The correct `commonDir` is `/`.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "common-path",
"version": "1.0.0",
"version": "1.0.1",
"description": "Finds the longest common parent directory path in an array of file path strings or custom objects. Also returns sub and base parts for each path.",
"main": "index.js",
"files": [
"index.js",
"LICENSE",
"README.md"
"README.md",
"CHANGELOG.md"
],
"scripts": {
"test": "eslint . -f tap && nyc --reporter=lcov --reporter=text mocha",
Expand Down

0 comments on commit e52c5a5

Please sign in to comment.