Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Commit

Permalink
kast: fix undefinedness error
Browse files Browse the repository at this point in the history
  • Loading branch information
MrChico authored and livnev committed Jan 30, 2019
1 parent b24eab9 commit 4d8e719
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/kast.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,12 +256,14 @@ const format = (o, isRaw = false) => {
}

const prettify = str => {
if (str) {
str = str.replace(/ \.IntList/g, "");
str = str.replace(/ _\-Int__INT /g, " - ");
str = str.replace(/ _\+Int__INT /g, " + ");
str = str.replace(/ _\/Int__INT /g, " / ");
str = str.replace(/ _\*Int__INT /g, " * ");
return str;
}
return str;
}

const get = (term, path) => {
Expand Down

0 comments on commit 4d8e719

Please sign in to comment.