💬 Comment logs

This commit is contained in:
ful1e5 2020-09-01 17:14:45 +05:30
parent bb646ab67e
commit 9d451f1821

View file

@ -77,8 +77,8 @@ const renderCursors = async (configs: Record<string, Config>) => {
const frames: Frames = {}; const frames: Frames = {};
const firstKey = getKeyName(index, svgPath); const firstKey = getKeyName(index, svgPath);
console.log("Rendering", path.basename(svgPath), "..."); // console.log("Rendering", path.basename(svgPath), "...");
console.log(firstKey); // console.log(firstKey);
// 1st Frame // 1st Frame
frames[firstKey] = { frames[firstKey] = {
@ -96,7 +96,7 @@ const renderCursors = async (configs: Record<string, Config>) => {
encoding: "binary" encoding: "binary"
}); });
const key = getKeyName(index, svgPath); const key = getKeyName(index, svgPath);
console.log(key); // console.log(key);
const diff = matchImages({ const diff = matchImages({
img1Buff: frames[firstKey].buffer, img1Buff: frames[firstKey].buffer,
img2Buff: newFrame img2Buff: newFrame