Skip to content
This repository was archived by the owner on Jan 2, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Getting Started with Create React App
# FLATTENER FOR REMIX

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Flattener plugin for Remix IDE

The plugin was largely inspired by [Flattener for Truffle](https://github.com/nomiclabs/truffle-flattener). In fact, the output generated by the plugin is very similar.

## Available Scripts

Expand Down
2 changes: 1 addition & 1 deletion src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class FlattenerPlugin extends PluginClient {
await this.setCallBacks();
})
.catch(async (e) => {
});
});
}

async setCallBacks() {
Expand Down
2 changes: 1 addition & 1 deletion src/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function _traverse(graph, visited, ast, name) {
for (const dependency of dependencies) {
const path = resolve(name, dependency);
if (path in visited) {
continue;
//continue;
}
visited[path] = 1;
graph.add(name, path);
Expand Down