diff --git a/packages/pinball_components/sandbox/lib/common/add_game.dart b/packages/pinball_components/sandbox/lib/common/add_game.dart index e69a3c7a..34f2c47d 100644 --- a/packages/pinball_components/sandbox/lib/common/add_game.dart +++ b/packages/pinball_components/sandbox/lib/common/add_game.dart @@ -31,7 +31,6 @@ extension StoryAddGame on Story { extension on String { String toPath() { - // TODO(alstiago): format string to as a path name. - return this; + return replaceAll(' ', '_')..toLowerCase(); } }