Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Colin Schmidt <[email protected]>
  • Loading branch information
V-FEXrt and colinschmidt authored Sep 6, 2024
1 parent 46c4000 commit d963c30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion share/wake/lib/system/io.wake
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export def read (path: Path): Result String Error =
#
# Allows for calls to the write prim to be tracked in the database as any other job.
# Ideally content would be part of RunnerInputCmd however this gets tracked exactly in the database
# which means all writes would cost 2x the total amount.
# which means all writes would use 2x the total storage in the database.
def writeRunner (content: String) =
def primWrite (mode: Integer) (path: String) (content: String): Result String String =
(\_ \_ \_ prim "write") mode path content
Expand Down
2 changes: 1 addition & 1 deletion share/wake/lib/system/job_cache_runner.wake
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export def mkJobCacheRunner (hashFn: RunnerInput => Result String Error) (wakero
True

# Now we need to run the job
require Pass (RunnerOutput inputs outputs useage) = baseDoIt job (Pass input)
require Pass (RunnerOutput inputs outputs usage) = baseDoIt job (Pass input)

def Usage status runtime cputime mem ibytes obytes = useage
def inputsTree = listToTree scmpCanonical inputs
Expand Down

0 comments on commit d963c30

Please sign in to comment.