File Explorer

/proc/self/root/proc/1/task/1/root/node24/lib/node_modules/npm/node_modules/node-gyp/lib

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 /.

clean.js414 B · 16 lines
'use strict' const fs = require('graceful-fs').promisesconst log = require('./log') async function clean (gyp, argv) {  // Remove the 'build' dir  const buildDir = 'build'   log.verbose('clean', 'removing "%s" directory', buildDir)  await fs.rm(buildDir, { recursive: true, force: true, maxRetries: 3 })} module.exports = cleanmodule.exports.usage = 'Removes any generated build files and the "out" dir'