Skip to content

Commit

Permalink
Remove mkdirp and bump @aragon/cli to 7.1.4 (#1674)
Browse files Browse the repository at this point in the history
* Remove mkdirp
* Bump @aragon/cli to 7.1.4
  • Loading branch information
macor161 authored May 15, 2020
1 parent f0ac284 commit b03b9a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aragon/cli",
"version": "7.1.3",
"version": "7.1.4",
"description": "Aragon command-line tools",
"main": "./dist/toolkit.js",
"bin": {
Expand Down Expand Up @@ -79,7 +79,6 @@
"listr-silent-renderer": "^1.1.1",
"listr-update-renderer": "^0.5.0",
"listr-verbose-renderer": "^0.6.0",
"mkdirp": "^0.5.1",
"ncp": "^2.0.0",
"open": "^7.0.0",
"public-ip": "^4.0.1",
Expand Down
5 changes: 2 additions & 3 deletions packages/cli/src/commands/devchain_cmds/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import ncp from 'ncp'
import os from 'os'
import path from 'path'
import rimraf from 'rimraf'
import mkdirp from 'mkdirp'
import { mkdirp } from 'fs-extra'
import fs from 'fs'
import Web3 from 'web3'
import { blue, red, green, yellow } from 'chalk'
Expand Down Expand Up @@ -76,7 +76,6 @@ export const task = async function ({
debug,
}) {
const removeDir = promisify(rimraf)
const mkDir = promisify(mkdirp)
const recursiveCopy = promisify(ncp)

const snapshotPath = path.join(
Expand Down Expand Up @@ -111,7 +110,7 @@ export const task = async function ({
title: 'Setting up a new chain from latest Aragon snapshot',
task: async (ctx, task) => {
await removeDir(snapshotPath)
await mkDir(path.resolve(snapshotPath, '..'))
await mkdirp(path.resolve(snapshotPath, '..'))
const snapshot = getAragonGanacheFiles()
await recursiveCopy(snapshot, snapshotPath)
},
Expand Down

0 comments on commit b03b9a1

Please sign in to comment.