1
0
mirror of synced 2025-12-12 09:23:21 +08:00

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
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",
"chore",
"ci",
"feat",
"fix",
"docs",
"style",
"refactor",

View File

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