This commit is contained in:
yutianwu
2018-11-30 13:01:36 +08:00
parent e8700152be
commit e255b30c63
2 changed files with 5 additions and 9 deletions
+5
View File
@@ -85,6 +85,11 @@ func testnetFiles(cmd *cobra.Command, args []string) error {
_ = os.RemoveAll(outputDir)
return err
}
err = os.MkdirAll(filepath.Join(nodeDir, "data"), nodeDirPerm)
if err != nil {
_ = os.RemoveAll(outputDir)
return err
}
initFilesWithConfig(config)