This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
"truffle init" should check for existence of truffle.js before messing up with the current dir #356
Closed
1 task done
Issue
"truffle init" will screw up your working directory
Steps to Reproduce
Have a working truffle workspace with a bunch of stuff in it.
Expected Behavior
"truffle init" does nothing, e.g., does not add MetaCoin.sol, and perhaps prompt you "The current directory already contains a truffle.js, skipping..."
Actual Results
Adds MetaCoin.sol to contracts and generally mess up your workspace
Environment
All
The text was updated successfully, but these errors were encountered: