mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Removed unused variable
This commit is contained in:
parent
07e603a5cd
commit
7a7d64b764
1 changed files with 0 additions and 1 deletions
|
@ -8,7 +8,6 @@ const path = require('path');
|
|||
const adminXSettingsPath = '../../apps/admin-x-settings/dist';
|
||||
|
||||
function generateHash(filePath) {
|
||||
const fileName = path.basename(filePath);
|
||||
const fileContents = fs.readFileSync(filePath, 'utf8');
|
||||
const hash = crypto.createHash('sha256').update(fileContents).digest('hex').slice(0, 10);
|
||||
return hash;
|
||||
|
|
Loading…
Add table
Reference in a new issue