Fix Dagger src defaultPath annotation to use JSDoc comment

The TypeScript SDK only reads +defaultPath from JSDoc block comments,
not // line comments.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Philip Peterson 2026-05-04 01:32:50 -07:00
parent 048de49146
commit 01d5c9bb5d

View file

@ -4,7 +4,9 @@ import { dag, Directory, object, func } from "@dagger.io/dagger"
class ElectronLink {
@func()
async ci(
// +defaultPath="."
/**
* +defaultPath="."
*/
src: Directory,
): Promise<void> {
await dag