Skip to content

Remove promisify, use fs/promises and glob-promise instead#135

Open
V01dgazer wants to merge 2 commits intodomasx2:masterfrom
V01dgazer:master
Open

Remove promisify, use fs/promises and glob-promise instead#135
V01dgazer wants to merge 2 commits intodomasx2:masterfrom
V01dgazer:master

Conversation

@V01dgazer
Copy link
Copy Markdown

Promisifying glob and fs modules causes memory leaks in jest tests. The intention is to get rid of promisify and use native promises instead.

Comment thread lib/reader.js
var Promise = require('./Promise');
var path = require('path');
var yaml = require('js-yaml');
var objectAssign = require('object-assign');
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

objectAssign was not being used.

@badigina-merck
Copy link
Copy Markdown

Having memory leaks on my project. If it helps I'd really appreciate this PR being merged!

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