Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Salakar authored Nov 21, 2023
2 parents b2f718c + d368b43 commit a55e2b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/melos/lib/src/commands/exec.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ mixin _ExecMixin on _Melos {
final environment = {
...currentPlatform.environment,
'MELOS_PACKAGE_NAME': package.name,
'MELOS_PACKAGE_VERSION': (package.version).toString(),
'MELOS_PACKAGE_VERSION': package.version.toString(),
'MELOS_PACKAGE_PATH': package.path,
'MELOS_ROOT_PATH': workspace.path,
if (workspace.sdkPath != null) envKeyMelosSdkPath: workspace.sdkPath!,
Expand Down
2 changes: 1 addition & 1 deletion packages/melos/lib/src/commands/list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ mixin _ListMixin on _Melos {
.map(
(package) => [
package.name,
AnsiStyles.green((package.version).toString()),
AnsiStyles.green(package.version.toString()),
AnsiStyles.gray(printablePath(package.pathRelativeToWorkspace)),
if (package.isPrivate) AnsiStyles.red('PRIVATE'),
],
Expand Down

0 comments on commit a55e2b6

Please sign in to comment.