Skip to content

Conversation

@rachfop
Copy link
Contributor

@rachfop rachfop commented May 16, 2024

Snipfile

Copy link
Contributor

@flossypurse flossypurse left a comment

Choose a reason for hiding this comment

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

Might need a detailed explanation of how this works. Looks like a lot of code has been moved around and it is hard to tell what logic is being introduced and/or changed.

Curious why SNIPFILE and SNIPFILEEND are needed as new target placeholders?

What would an example file origin config look like?

Comment on lines +34 to +43
// Custom promisified version of eachLine
const eachLineAsync = (filePath, cb) => {
return new Promise((resolve, reject) => {
eachLine(filePath, cb, (err) => {
if (err) reject(err);
else resolve();
});
});
};

Copy link
Contributor

Choose a reason for hiding this comment

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

Is this needed?

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.

3 participants