mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 02:52:27 +08:00
chore(signing): remove lstat
This commit is contained in:
parent
4bb0783790
commit
293167c93e
@ -5,9 +5,6 @@ const { default: path } = require("path");
|
||||
module.exports = function (filePath) {
|
||||
const { WINDOWS_SIGN_EXECUTABLE } = process.env;
|
||||
|
||||
const stats = fs.lstatSync(filePath);
|
||||
console.log(filePath, stats);
|
||||
|
||||
if (!WINDOWS_SIGN_EXECUTABLE) {
|
||||
console.warn("[Sign] Skip signing due to missing environment variable.");
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user