mirror of
https://github.com/twitter/twemoji.git
synced 2024-06-15 03:35:16 +00:00
Remove dead code
This commit is contained in:
parent
11966415cc
commit
523e8f703c
@ -57,9 +57,7 @@ if (digest.status || digest.signal){
|
||||
throw new Error(digest.stderr.toString('utf8'));
|
||||
}
|
||||
const integrityHash = digest.stdout.toString('base64');
|
||||
const integrity = ``;
|
||||
const { version } = require('../../package.json');
|
||||
const src = ``
|
||||
|
||||
function updateScript(filename) {
|
||||
const newScript = `<script src="https://twemoji.maxcdn.com/2/twemoji.min.js?${version}" integrity="${algorithm}-${integrityHash}"`
|
||||
|
Loading…
Reference in New Issue
Block a user