fix: daemon fails to download when dist directory doesn't exist
This commit is contained in:
parent
24ec5cd667
commit
1fc35d1175
3 changed files with 12 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
/* eslint-disable no-console,import/no-extraneous-dependencies,import/no-commonjs */
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const fs = require('fs-path');
|
||||
const packageJSON = require('../package.json');
|
||||
const axios = require('axios');
|
||||
const decompress = require('decompress');
|
||||
|
|
|
@ -103,6 +103,7 @@
|
|||
"flow-babel-webpack-plugin": "^1.1.1",
|
||||
"flow-bin": "^0.68.0",
|
||||
"flow-typed": "^2.3.0",
|
||||
"fs-path": "^0.0.24",
|
||||
"husky": "^0.14.3",
|
||||
"i18n-extract": "^0.5.1",
|
||||
"json-loader": "^0.5.4",
|
||||
|
|
10
yarn.lock
10
yarn.lock
|
@ -472,6 +472,10 @@ async@^2.1.2, async@^2.4.1:
|
|||
dependencies:
|
||||
lodash "^4.14.0"
|
||||
|
||||
async@~0.9.0:
|
||||
version "0.9.2"
|
||||
resolved "https://registry.yarnpkg.com/async/-/async-0.9.2.tgz#aea74d5e61c1f899613bf64bda66d4c78f2fd17d"
|
||||
|
||||
asynckit@^0.4.0:
|
||||
version "0.4.0"
|
||||
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
|
||||
|
@ -3993,6 +3997,12 @@ fs-extra@^5.0.0:
|
|||
jsonfile "^4.0.0"
|
||||
universalify "^0.1.0"
|
||||
|
||||
fs-path@^0.0.24:
|
||||
version "0.0.24"
|
||||
resolved "https://registry.yarnpkg.com/fs-path/-/fs-path-0.0.24.tgz#21a4b8d7dce5bae6d208261955dbc2bcf1e75c06"
|
||||
dependencies:
|
||||
async "~0.9.0"
|
||||
|
||||
fs-write-stream-atomic@^1.0.8:
|
||||
version "1.0.10"
|
||||
resolved "https://registry.yarnpkg.com/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9"
|
||||
|
|
Loading…
Reference in a new issue