From 0feae7cdd9e3435ee091cfd98b31e2d5f4f88127 Mon Sep 17 00:00:00 2001 From: Matteo Hertel Date: Fri, 30 Mar 2018 08:31:34 +0100 Subject: [PATCH] fix(path): fix frames path --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d674b1b..7c33156 100755 --- a/index.js +++ b/index.js @@ -34,7 +34,7 @@ async function letsParty() { } async function getFrames() { - return readDirAsync("./frames").then(processFrames); + return readDirAsync(`${__dirname}/frames`).then(processFrames); } async function processFrames(data) {