diff --git a/projects/utils/src/lib/string-utils.ts b/projects/utils/src/lib/string-utils.ts index 68328f4cdd..ce21d5ed92 100644 --- a/projects/utils/src/lib/string-utils.ts +++ b/projects/utils/src/lib/string-utils.ts @@ -9,6 +9,8 @@ export class StringUtils { if (!s2) { return '' + s1 + ''; } + 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 diff --git a/sendLibToIgo.bash b/sendLibToIgo.bash new file mode 100644 index 0000000000..538945aa5c --- /dev/null +++ b/sendLibToIgo.bash @@ -0,0 +1,2 @@ +rm -rf ../igo/node_modules/@igo2/* +cp -r ./dist/* ../igo/node_modules/@igo2/.