Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local node setup logic #59

Merged
merged 7 commits into from
Mar 28, 2019
Merged

Local node setup logic #59

merged 7 commits into from
Mar 28, 2019

Conversation

yhaspel
Copy link
Contributor

@yhaspel yhaspel commented Mar 27, 2019

No description provided.

@yhaspel yhaspel requested a review from IlyaVi March 27, 2019 11:39
desktop/main.dev.js Outdated Show resolved Hide resolved

class DiskStorageManager {
static getDriveList = ({ event }: { event: any }) => {
drivelist.list((error, drives) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the docs of the library states that main usage is through async function

const drivelist = require('drivelist');

const drives = await drivelist.list();
console.log(drives);

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's an issue with version 8+ of this package. Version 6 is installed works as coded.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue is with electron and version 8 of this package.

@yhaspel yhaspel merged commit 945417c into develop Mar 28, 2019
@yhaspel yhaspel deleted the local-node-setup-logic branch March 28, 2019 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants