You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, substreams init generates file in the current directly. It's likely that the folder's name is the Substreams project's name.
Instead of hardcoding my_project, use something like strings.ReplaceAll(sanitizeProjectNameFromParentFolder(filepath.Base(filepath.Dir(os.Getcwd()))), "-", "_") .
The text was updated successfully, but these errors were encountered:
Right now,
substreams init
generates file in the current directly. It's likely that the folder's name is the Substreams project's name.Instead of hardcoding
my_project
, use something likestrings.ReplaceAll(sanitizeProjectNameFromParentFolder(filepath.Base(filepath.Dir(os.Getcwd()))), "-", "_")
.The text was updated successfully, but these errors were encountered: