Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
Missing project root path in readBlockchains()
Browse files Browse the repository at this point in the history
  • Loading branch information
gilnobrega committed Jun 21, 2021
1 parent e4450b4 commit 06f7a05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion environment_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ environment_config:
fields: # set of fields for command
version: # key name
const: true # optional, default to TRUE
default: 1.4.1dev4 # optional, default value for key, if not provided key will be required during command run
default: 1.4.1dev5 # optional, default value for key, if not provided key will be required during command run
dotenv: true # optional, default to FALSE, if this field should be added to .env file

2 changes: 1 addition & 1 deletion farmr.dart
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ createDirsAndportOldFiles(String rootPath) {
List<Blockchain> readBlockchains(ID id, String rootPath, List<String> args) {
List<Blockchain> blockchains = [];

io.Directory blockchainDir = io.Directory("blockchain");
io.Directory blockchainDir = io.Directory(rootPath + "blockchain");

if (blockchainDir.existsSync()) {
for (var file in blockchainDir.listSync()) {
Expand Down

0 comments on commit 06f7a05

Please sign in to comment.