Permalink
Browse files

remove useless assignment (#43)

  • Loading branch information...
1 parent 3e05c9c commit 809fb09b2226893b9823e3aa56e3f8e2de160850 @spacewander spacewander committed with Nov 26, 2016
Showing with 0 additions and 3 deletions.
  1. +0 −1 pgmoon/hstore.lua
  2. +0 −2 pgmoon/hstore.moon
View
@@ -24,7 +24,6 @@ end
local encode_hstore
do
encode_hstore = function(tbl, escape_literal)
- escape_literal = escape_literal or default_escape_literal
if not (escape_literal) then
local Postgres
Postgres = require("pgmoon").Postgres
View
@@ -6,8 +6,6 @@ getmetatable(PostgresHstore).__call = (t) =>
encode_hstore = do
(tbl, escape_literal) ->
- escape_literal or= default_escape_literal
-
unless escape_literal
import Postgres from require "pgmoon"
default_escape_literal = (v) ->

0 comments on commit 809fb09

Please sign in to comment.