-
Notifications
You must be signed in to change notification settings - Fork 83
#patch bug fix for use in windows #352
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #352 +/- ##
==========================================
- Coverage 69.62% 69.59% -0.04%
==========================================
Files 140 140
Lines 4837 4844 +7
==========================================
+ Hits 3368 3371 +3
- Misses 1227 1229 +2
- Partials 242 244 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shell date /t
is required when compiling on windows 11.
However, this raises a lint error.
So, reverting to original Makefile with comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed the issue
My co-worker just ran into this when he tried to register s.th. on a windows machine ( The PR looks solid to me. Can we merge this or do we need more verification that it works? |
var tempDir string | ||
var err error | ||
if os == "windows" { | ||
fmt.Println("Windows Operating System Detected") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we make this a logger?
tempDir, err = ioutil.TempDir("/tmp", "register") | ||
} | ||
|
||
/*tempDir, err := ioutil.TempDir("/tmp", "register")*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/*tempDir, err := ioutil.TempDir("/tmp", "register")*/ |
Read then delete
will be bumped. More details
TL;DR
Please replace this text with a description of what this PR accomplishes.
Type
Are all requirements met?
Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
flyteorg/flyte#2875
Follow-up issue
NA
OR
flyteorg/flyte#2875