diff options
author | vturov <vturov@yandex-team.com> | 2024-10-31 00:38:18 +0300 |
---|---|---|
committer | vturov <vturov@yandex-team.com> | 2024-10-31 00:51:26 +0300 |
commit | 3cfa1c202c113d451ca44fd1915ff93c65debada (patch) | |
tree | 58aac9915d89413cddcdd5941b35db4bb03a3c5e /build/plugins/nots.py | |
parent | 9831b435badde8fac5fcb91362654ded80b91148 (diff) | |
download | ydb-3cfa1c202c113d451ca44fd1915ff93c65debada.tar.gz |
fix: colors in error snippets
commit_hash:8b9f2c334e0c931672ddb26b600e384d7df06fb1
Diffstat (limited to 'build/plugins/nots.py')
-rw-r--r-- | build/plugins/nots.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/plugins/nots.py b/build/plugins/nots.py index 2f49030375..7615849861 100644 --- a/build/plugins/nots.py +++ b/build/plugins/nots.py @@ -828,7 +828,7 @@ def on_node_modules_configure(unit: NotsUnitType) -> None: ymake.report_configure_error( "Project is configured to use @yatool/prebuilder. \n" + "Some packages in the pnpm-lock.yaml are misconfigured.\n" - + "Run {COLORS.green}`ya tool nots update-lockfile`{COLORS.reset} to fix lockfile.\n" + + f"Run {COLORS.green}`ya tool nots update-lockfile`{COLORS.reset} to fix lockfile.\n" + "All packages with `requiresBuild:true` have to be marked with `hasAddons:true/false`.\n" + "Misconfigured keys: \n" + " - " @@ -843,7 +843,7 @@ def on_node_modules_configure(unit: NotsUnitType) -> None: ymake.report_configure_error( "Project is configured to use @yatool/prebuilder. \n" + "Some packages are misconfigured.\n" - + "Run {COLORS.green}`ya tool nots update-lockfile`{COLORS.reset} to fix pnpm-lock.yaml and package.json.\n" + + f"Run {COLORS.green}`ya tool nots update-lockfile`{COLORS.reset} to fix pnpm-lock.yaml and package.json.\n" + "Validation details: \n" + "\n".join(validation_messages) ) |