Skip to content

understand-dashboard: replace literal placeholders with the variables Step 3 already resolves#498

Open
specterslient95-lgtm wants to merge 1 commit into
Egonex-AI:mainfrom
specterslient95-lgtm:fix-understand-dashboard-placeholders
Open

understand-dashboard: replace literal placeholders with the variables Step 3 already resolves#498
specterslient95-lgtm wants to merge 1 commit into
Egonex-AI:mainfrom
specterslient95-lgtm:fix-understand-dashboard-placeholders

Conversation

@specterslient95-lgtm

Copy link
Copy Markdown

Fixes #497.

Steps 4-5 used literal placeholder strings <dashboard-dir>,
<plugin-root>, <project-dir> that the shell never expands, so
cd <dashboard-dir> runs against the literal directory name and
fails. Step 3 already resolves \$PLUGIN_ROOT, so this PR reuses
\"\$PLUGIN_ROOT/packages/dashboard\" and \"\$PLUGIN_ROOT\"
in place of the placeholders, and adds an explicit
PROJECT_DIR=\"\${ARGUMENTS:-\$(pwd)}\" binding in Step 1 so Steps 5
and 7 can use it.

… 3 already resolves

Steps 4-5 used literal placeholder strings `<dashboard-dir>`,
`<plugin-root>`, `<project-dir>` that the shell never expands —
`cd <dashboard-dir>` runs against the literal directory name and
fails with 'No such file'. Step 3 already resolves `PLUGIN_ROOT`,
so reuse `\"$PLUGIN_ROOT/packages/dashboard\"` and
`\"$PLUGIN_ROOT\"` in place of the placeholders, and add an
explicit `PROJECT_DIR=\"${ARGUMENTS:-$(pwd)}\"` assignment in
Step 1 so Step 5 / Step 7 can reference it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

understand-dashboard: Steps 4-5 use unassigned literal placeholders (<dashboard-dir> etc.), commands fail

1 participant