now reads names from cellar.json

This commit is contained in:
Nicholas O'Connor committed 2017-03-12 23:39:03 -07:00
1 parent e30cddee84
commit 252b2fdfe6
2 files changed
+8 -2

No files matched your search

+2 -2
View File
@@ -30,8 +30,8 @@ int main(int argc, char* argv[]) {
stringstream sstr;
sstr << configstream.rdbuf();
config = json::parse(sstr.str());
cout << "has a json" << endl;
cout << "- " << config["name"];
}
catch (const exception &exc) {
cout << "- bogus cellar.json file" << endl;