Skip to content

Commit

Permalink
fix(string-utils): cast to string
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed Feb 6, 2019
1 parent 2ac1cc2 commit e12feb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions projects/utils/src/lib/string-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ export class StringUtils {
if (!s2) {
return '<span class="inserted">' + s1 + '</span>';
}
s1 = s1.toString();
s2 = s2.toString();
const changeData = StringUtils.getChanges(s1, s2, '', p);
const nextS = s2.slice(
changeData.mtc.length + changeData.ins.length + changeData.sbs.length
Expand Down
2 changes: 2 additions & 0 deletions sendLibToIgo.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rm -rf ../igo/node_modules/@igo2/*
cp -r ./dist/* ../igo/node_modules/@igo2/.

0 comments on commit e12feb2

Please sign in to comment.