Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

temporary directory remains after running fontforge #324

Open
lajy78 opened this issue Mar 23, 2016 · 1 comment
Open

temporary directory remains after running fontforge #324

lajy78 opened this issue Mar 23, 2016 · 1 comment

Comments

@lajy78
Copy link

lajy78 commented Mar 23, 2016

Before running fontforge, source files are copied to a temporary directory.

// Copy source files to temporary directory
var tempDir = temp.mkdirSync();
o.files.forEach(function(file) {
    fs.writeFileSync(path.join(tempDir, o.rename(file)), fs.readFileSync(file));
});

Why is this temporary directory not removed at the end of the process?
Thanks.

@sapegin
Copy link
Owner

sapegin commented Mar 23, 2016

I don’t know. Maybe it’s a bug, maybe nobody wrote any code to remove it. I’ll be happy to merge a pull request with a fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants