summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-01-08 10:12:53 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-01-08 10:12:53 +0100
commit9f74746b2ebffbfe40f359171be2698532ef0810 (patch)
tree99914d0459758794b7c773c28704ac6d7eab9ad8
parenta2ea4e5ef5233c7373ceeaaccc3d8df72dc6359e (diff)
downloadrpgedit-9f74746b2ebffbfe40f359171be2698532ef0810.tar
rpgedit-9f74746b2ebffbfe40f359171be2698532ef0810.zip
util: add missing semicolons
-rw-r--r--src/util.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.ts b/src/util.ts
index 2292820..6ab90ce 100644
--- a/src/util.ts
+++ b/src/util.ts
@@ -2,8 +2,8 @@
export function mapPromises<T>(promises: {[key: string]: Promise<T>}): Promise<{[key: string]: T}> {
- var p: Promise<void>[] = []
- var ret: {[key: string]: T} = {}
+ var p: Promise<void>[] = [];
+ var ret: {[key: string]: T} = {};
_.forOwn(promises, (v, k) => {
p.push(v.then(r => {ret[k] = r;}));