Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mcgowan committed Jul 13, 2016
1 parent c7a9943 commit 55132a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion development.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ command exit code properly honoured for success/nonsuccess. Commands can further
- Command comprises core command logic (the command) and a CommandSite object.

- Command:
- an ES6 object in src/cmd/<commandname>.js
- an ES6 object in src/lib/<commandname>.js
- provides the core application logic, which may exist there, or may delegate to external
node modules (e.g. cli-library-manager)
- constructor takes command parameters object, command site object
Expand Down
8 changes: 4 additions & 4 deletions src/lib/library.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ class AbstractLibraryMigrateCommand extends Command {
site.notifyStart(libdir);
const dir = path.resolve(libdir);
const repo = new FileSystemLibraryRepository(dir, FileSystemNamingStrategy.DIRECT);
const [result,err] = await this.processLibrary(repo, '', state, site);
site.notifyEnd(libdir, result, err);
result.push({libdir, result, err});
const [res,err] = await this.processLibrary(repo, '', state, site);
site.notifyEnd(libdir, res, err);
result.push({libdir, res, err});
}
return result;
}

processLibrary(repo, libname, state, site) {}
}

Expand Down

0 comments on commit 55132a9

Please sign in to comment.