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

Commit

Permalink
fix: remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
tommytroylin committed Nov 8, 2017
1 parent b9a0906 commit b504f11
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/renderer/components/ProjectDependency/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,11 @@ class DependencyTable extends Component {
this.setState({ loading: true });
this.columns = this.getOnlineColumns();
const dataSource = await checkLatestVersion(source, projPath, registry);
console.log(source, projPath, registry)
dataSource.forEach((item) => {
if (item.installedVersion !== 'null') {
item.updateType = !checkver.satisfies(item.latestVersion, `^${item.installedVersion}`) || !checkver.satisfies(item.latestVersion,item.version);
}
});
console.log(JSON.parse(JSON.stringify(dataSource)))
this.setState({ dataSource, loading: false });
} else {
this.columns = this.getOfflineColumns();
Expand Down

0 comments on commit b504f11

Please sign in to comment.