Skip to content

Snips Files - #76

Open
rachfop wants to merge 16 commits into
mainfrom
snipfile
Open

Snips Files#76
rachfop wants to merge 16 commits into
mainfrom
snipfile

Conversation

@rachfop

@rachfop rachfop commented May 16, 2024

Copy link
Copy Markdown
Contributor

Snipfile

Comment thread package-lock.json
Comment thread package-lock.json
Comment thread package-lock.json
Comment thread package-lock.json

@flossypurse flossypurse left a comment

Copy link
Copy Markdown
Contributor

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 thread src/Sync.js
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
Copy Markdown
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.

2 participants