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

Commit44ca2d7

Browse files
committed
use logger to print the install.sh unavailable message
1 parent113f345 commit44ca2d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎site/site.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ func New(opts *Options) *Handler {
166166

167167
handler.installScript,err=parseInstallScript(opts.SiteFS,opts.BuildInfo)
168168
iferr!=nil {
169-
_,_=fmt.Fprintf(os.Stderr,"install.sh will be unavailable: %v",err.Error())
169+
opts.Logger.Warn(context.Background(),fmt.Sprintf("install.sh will be unavailable: %s",err.Error()))
170170
}
171171

172172
returnhandler

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp