From 6555fb80fdd8f6a5d201efadec3189d1244830a0 Mon Sep 17 00:00:00 2001 From: Nevena Bojovic Date: Tue, 1 Mar 2022 22:05:25 +0100 Subject: Izbrisala bin, obj i node-modules. --- .../Front/node_modules/pacote/lib/util/npm.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 sandbox/testAppNevena/Front/node_modules/pacote/lib/util/npm.js (limited to 'sandbox/testAppNevena/Front/node_modules/pacote/lib/util/npm.js') diff --git a/sandbox/testAppNevena/Front/node_modules/pacote/lib/util/npm.js b/sandbox/testAppNevena/Front/node_modules/pacote/lib/util/npm.js deleted file mode 100644 index f2f29bd0..00000000 --- a/sandbox/testAppNevena/Front/node_modules/pacote/lib/util/npm.js +++ /dev/null @@ -1,15 +0,0 @@ -// run an npm command -const spawn = require('@npmcli/promise-spawn') -const {dirname} = require('path') - -module.exports = (npmBin, npmCommand, cwd, env, extra) => { - const isJS = npmBin.endsWith('.js') - const cmd = isJS ? process.execPath : npmBin - const args = (isJS ? [npmBin] : []).concat(npmCommand) - // when installing to run the `prepare` script for a git dep, we need - // to ensure that we don't run into a cycle of checking out packages - // in temp directories. this lets us link previously-seen repos that - // are also being prepared. - - return spawn(cmd, args, { cwd, stdioString: true, env }, extra) -} -- cgit v1.2.3