Max
e055e489be
flake.lock: Update Flake lock file updates: • Added input 'shinobi': 'gitlab:Shinobi-Systems/Shinobi/a2faa40ab0e9952ff6a7fcf682534171614180c1' (2021-11-30)
28 lines
890 B
Diff
28 lines
890 B
Diff
From e30bec29ad5d960d8fe0e6d3427601d49d0746ea Mon Sep 17 00:00:00 2001
|
|
From: Max <max@privatevoid.net>
|
|
Date: Tue, 15 Mar 2022 18:15:23 +0100
|
|
Subject: [PATCH 1/9] packageDirectory
|
|
|
|
---
|
|
libs/process.js | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/libs/process.js b/libs/process.js
|
|
index 9f3852e..b19384a 100644
|
|
--- a/libs/process.js
|
|
+++ b/libs/process.js
|
|
@@ -30,8 +30,10 @@ module.exports = function(process,__dirname){
|
|
isWin : (process.platform === 'win32' || process.platform === 'win64'),
|
|
//UTC Offset
|
|
utcOffset : require('moment')().utcOffset(),
|
|
- //directory path for this file
|
|
+ //directory path for cwd
|
|
mainDirectory : process.cwd(),
|
|
+ //directory path for this file
|
|
+ packageDirectory : require('path').resolve(__dirname),
|
|
//time start
|
|
timeStarted : new Date()
|
|
|
|
--
|
|
2.35.1
|
|
|