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:
parent
048de49146
commit
01d5c9bb5d
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue