Skip to content

Commit

Permalink
fix(path): fix single frame path
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-hertel committed Mar 30, 2018
1 parent 0feae7c commit fac7cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function processFrames(data) {
.then(coloriseArray);
}
function getFrame(frame) {
return Promise.resolve(readFileAsync(`./frames/${frame}`));
return Promise.resolve(readFileAsync(`${__dirname}/frames/${frame}`));
}

function coloriseArray(pool) {
Expand Down

0 comments on commit fac7cf9

Please sign in to comment.