Skip to content

Commit

Permalink
fix(core): remove cleanup of temp tao directory (#4821)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz authored Feb 17, 2021
1 parent b5bfbc9 commit d22153a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/workspace/src/command-line/nx-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { runMany } from './run-many';
import { writeFileSync } from 'fs';
import { dirSync } from 'tmp';
import * as path from 'path';
import { removeSync } from 'fs-extra';

const noop = (yargs: yargs.Argv): yargs.Argv => yargs;

Expand Down Expand Up @@ -190,8 +189,6 @@ export const commandsObject = yargs
execSync(`${p} migrate ${process.argv.slice(3).join(' ')}`, {
stdio: ['inherit', 'inherit', 'inherit'],
});
// Clean up
removeSync(path.resolve(p, '../../..'));
} else {
const pmc = getPackageManagerCommand();
execSync(`${pmc.exec} tao migrate ${process.argv.slice(3).join(' ')}`, {
Expand Down

0 comments on commit d22153a

Please sign in to comment.