From 2fa8113e869ae25d2fc0b8cafd533b99a06507be Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Mon, 30 Sep 2019 10:36:49 +0200 Subject: [PATCH] fix bin/utils to use require --- bin/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/utils.js b/bin/utils.js index 8e93413..6152b10 100644 --- a/bin/utils.js +++ b/bin/utils.js @@ -29,7 +29,7 @@ if (typeof persistenceDir === 'string') { * @param {{bindState: function(string,WSSharedDoc):void, * writeState:function(string,WSSharedDoc):Promise}|null} persistence_ */ -export const setPersistence = persistence_ => { +exports.setPersistence = persistence_ => { persistence = persistence_ }