fix(#161): Fixed issue with options.ignorews (#162)

This commit is contained in:
Jamie Peabody
2022-01-19 21:46:43 +00:00
committed by GitHub
parent fdfbf8d131
commit 650daaff63
3 changed files with 4 additions and 2 deletions

View File

@@ -8,4 +8,4 @@ npm run test
## Conventional commits ## Conventional commits
Mergely is using [conventional commits](https://www.conventionalcommits.org/en/v1.0.0). Mergely is using [conventional commits](https://www.conventionalcommits.org/en/v1.0.0), and [standard-version](https://www.npmjs.com/package/standard-version).

View File

@@ -4,6 +4,8 @@
"build", "build",
"chore", "chore",
"ci", "ci",
"feat",
"fix",
"docs", "docs",
"style", "style",
"refactor", "refactor",

View File

@@ -3,7 +3,7 @@ const DiffParser = require('./diff-parser');
function LCS(x, y, options) { function LCS(x, y, options) {
function getPositionOfWords(text, options) { function getPositionOfWords(text, options) {
var exp = new RegExp(/\w+/g); var exp = new RegExp(/[^\s]/g);
var map = {}; var map = {};
var match; var match;
var item = 0; var item = 0;