Skip to content

Commit 679e5d6

Browse files
authored
Merge pull request #13 from masa0221/fix-cannot-fetch-clock2
Fix a bug that cannnot fetch clock time
2 parents e2f52bf + 7c3fab6 commit 679e5d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/jobcan/adit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ func (c *jobcanClient) Adit() aditResult {
5252

5353
aditResult := aditResult{}
5454
aditResult.BeforeWorkingStatus = webBrowser.fetchWorkingStatus()
55+
aditResult.Clock = webBrowser.fetchClock()
5556

5657
c.outputVerboseMessage(fmt.Sprintf("Adit process. noAdit: %v", c.NoAdit))
5758
if c.NoAdit {
@@ -62,7 +63,6 @@ func (c *jobcanClient) Adit() aditResult {
6263

6364
// Wait for rendering
6465
time.Sleep(1 * time.Second)
65-
aditResult.Clock = webBrowser.fetchClock()
6666
aditResult.AfterWorkingStatus = webBrowser.fetchWorkingStatus()
6767

6868
return aditResult

0 commit comments

Comments
 (0)