Skip to content

Conversation

@AritraDey-Dev
Copy link
Member

fixes #2


// Save the staged files in a temporary location (e.g., .statik/staging/)
const stagingPath = cwd + "/.statik/staging/";
const stagingCID = await client.add(stagedFiles, { pin: false });
Copy link
Collaborator

Choose a reason for hiding this comment

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

Still Staging is done by adding files to IPFS
Previous commit or existing snapshot is not checked before creating the new snapshot, same file with no changes may get committed twice
Suggestion: Now the commit message can be written as a blank space by not writing anything within the quotes so we can also add a check point to check whether a proper commit message is written.

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.

Stage without adding files to IPFS

2 participants