Skip to content

Commit

Permalink
fix: typo in error message for missing SEMAPHORE_JOB_ID environment v…
Browse files Browse the repository at this point in the history
…ariable (#61)
  • Loading branch information
lucaspin authored Oct 3, 2024
1 parent f7441a9 commit 6effb53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/files/path_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func NewPathResolver(resourceType, resourceId string) (*PathResolver, error) {
case ResourceTypeJob:
id := id(os.Getenv("SEMAPHORE_JOB_ID"), resourceId)
if id == "" {
return nil, fmt.Errorf("project ID is not set. Please use the SEMAPHORE_JOB_ID environment variable or the --job-id parameter to configure it")
return nil, fmt.Errorf("job ID is not set. Please use the SEMAPHORE_JOB_ID environment variable or the --job-id parameter to configure it")
}

return &PathResolver{
Expand Down

0 comments on commit 6effb53

Please sign in to comment.