chore: update prettier setting

This commit is contained in:
zerosoul
2022-06-12 15:30:14 +08:00
parent 14b4678d9e
commit 516794d352
209 changed files with 2435 additions and 4588 deletions
@@ -1,9 +1,8 @@
'use strict';
const { createHash } = require('crypto');
"use strict";
const { createHash } = require("crypto");
module.exports = env => {
const hash = createHash('md5');
module.exports = (env) => {
const hash = createHash("md5");
hash.update(JSON.stringify(env));
return hash.digest('hex');
return hash.digest("hex");
};