File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ struct Arguments {
3636 std::string package_name;
3737};
3838
39- std::string GetFileContents (const std::string &path) {
39+ std::string GetFileContents (const Path &path) {
4040 std::ifstream ifs (path);
4141 std::string content ((std::istreambuf_iterator<char >(ifs)),
4242 (std::istreambuf_iterator<char >()));
@@ -166,7 +166,7 @@ int main(int argc, char **argv) {
166166 static_file_contents =
167167 AddDevserverLoaderToStaticFileContents (static_file_contents);
168168
169- const std::map<std::string, std::string > path_to_contents = {
169+ const std::map<Path, FileContents > path_to_contents = {
170170 {" /" , static_file_contents}};
171171 json manifest = ComputeManifest (path_to_contents);
172172 DEBUG_LOG (" manifest: " << manifest.dump () << " \n\n " );
You can’t perform that action at this time.
0 commit comments