Skip to content

Commit

Permalink
undefined no packing
Browse files Browse the repository at this point in the history
  • Loading branch information
apacheli committed May 8, 2021
1 parent 4e79376 commit c749037
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/packer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ const pack_value = (e: E, value: unknown) => {
? Array.isArray(value) ? list(e, value) : map(e, value)
: small_atom(e, [110, 105, 108]);
case "string": return string(e, value);
case "undefined": return small_atom(e, [110, 105, 108]);
default: throw new Error(`Unsupported type '${typeof value}'`);
}
};
Expand Down

0 comments on commit c749037

Please sign in to comment.