Skip to content

Commit

Permalink
Update packages/core/utils/stateManager/stateManager.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Chełminiak <[email protected]>
  • Loading branch information
Pmejna and maneike authored Nov 4, 2024
1 parent 804ccae commit 483497d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/core/utils/stateManager/stateManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,5 @@ export function initializeState(projectDir: string, name: string, usePayload: bo

export function saveState(state: StaplerState, projectDir: string): void {
const rcFilePath = path.join(projectDir, RC_FILE_NAME);
console.log('Saving state to', rcFilePath);
fs.writeFileSync(rcFilePath, JSON.stringify(state, null, 2));
}

0 comments on commit 483497d

Please sign in to comment.