Skip to content

Commit

Permalink
Merge pull request #8 from konipro/patch-1
Browse files Browse the repository at this point in the history
Fix async function
  • Loading branch information
hcodes authored Feb 23, 2022
2 parents f4c4a30 + 560b749 commit 8d7cc02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { getAverageColor } from 'fast-average-color-node';
async function printAverageColor() {
const color = await getAverageColor('./image.png');
console.log(color);
});
};

printAverageColor();
```
Expand Down

0 comments on commit 8d7cc02

Please sign in to comment.