Use single quotes :P
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
const SRIToolbox = require("sri-toolbox");
|
||||
const SRIToolbox = require('sri-toolbox');
|
||||
|
||||
function getIntegrity(data) {
|
||||
return SRIToolbox.generate({ algorithms: ["sha384"] }, data);
|
||||
return SRIToolbox.generate({ algorithms: ['sha384'] }, data);
|
||||
}
|
||||
|
||||
module.exports = getIntegrity;
|
||||
|
Reference in New Issue
Block a user