Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit470ee11

Browse files
committed
fix(alfred): buildPath ModeSymlink path mapping fail
1 parentd850d60 commit470ee11

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎alfred/alfred.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,11 @@ func (a *Alfred) GetExistingLink() (string, error) {
174174
return"",err
175175
}
176176

177-
wd,_:=os.Getwd()
178-
buildPath:=path.Join(wd,a.BuildDir)
179-
180177
for_,dir:=rangedirs {
181178
ifdir.Mode()&os.ModeSymlink==os.ModeSymlink {
182179
fullDir:=path.Join(a.WorkflowsPath,dir.Name())
183180
link,err:=filepath.EvalSymlinks(fullDir)
184-
iferr==nil&&link==buildPath {
181+
iferr==nil&&link==a.BuildDir {
185182
returnfullDir,nil
186183
}
187184
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp