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

Why rewrite path.parse? #174

Open
aztack opened this issue May 23, 2024 · 0 comments
Open

Why rewrite path.parse? #174

aztack opened this issue May 23, 2024 · 0 comments

Comments

@aztack
Copy link

aztack commented May 23, 2024

In https://github.com/bodymovin/bodymovin-extension/blob/4f1de8ebfe5beaebc4c7d54fbbdf363ca685478c/src/helpers/ImageProcessorHelper.js#L4
You overwrite the builtin function like this:

var path = require('path');
path.parse = function(_path){
	return {
		dir:''
	}
}

Is this a workaround?

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

No branches or pull requests

1 participant