File Explorer

/proc/self/root/proc/1/task/1/root/proc/1/root/node24/lib/node_modules/npm/lib/commands

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

restart.js303 B · 14 lines
const LifecycleCmd = require('../lifecycle-cmd.js') // This ends up calling run(['restart', ...args])class Restart extends LifecycleCmd {  static description = 'Restart a package'  static name = 'restart'  static params = [    'ignore-scripts',    'script-shell',  ]} module.exports = Restart