Skip to content

Commit def3c6b

Browse files
strickvlclaude
andcommitted
Remove unused pipelineName variable in _getDashboardUrl
- Remove computed but unused pipelineName variable - Simplify fallback case to just return generic pipelines page - Cleaner code without dead variable computation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 422f49f commit def3c6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tutorialOrchestrator.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ export default class TutorialOrchestrator {
3232
if (runId) {
3333
return `${baseUrl}/workspaces/default/runs/${runId}`;
3434
} else {
35-
// Get the current pipeline name from the tutorial section
36-
const pipelineName = this._tutorial.currentSection.code()?.split('/').pop()?.replace('.py', '') || 'pipelines';
35+
// Fallback to generic pipelines page when no specific run ID
3736
return `${baseUrl}/workspaces/default/pipelines`;
3837
}
3938
}

0 commit comments

Comments
 (0)