fix(core): update

This commit is contained in:
Philipp Kunz 2020-09-29 15:54:05 +00:00
parent 34586b5fec
commit 13f1f854ce

View File

@ -26,7 +26,7 @@ export const sha256FromFile = async (filePath: string): Promise<string> => {
/**
* Computes sha256 Hash from String synchronously
*/
export let sha256FromStringSync = (stringArg): string => {
export const sha256FromStringSync = (stringArg: string): string => {
const hash = plugins.crypto.createHash('sha256');
hash.update(stringArg);
return hash.digest('hex');