jaredly / jaredly/milk

No error when engine.t.output invalid

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Reason
Stars
202
Forks
6
PR merge metrics
No merged PRs in 30d

Description

## env
```
(✓) 20:26:52 [~/code/milktest]
$ uname -a
Linux **** 5.0.0-31-generic #33~18.04.1-Ubuntu SMP Tue Oct 1 10:20:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
(✓) 20:27:00 [~/code/milktest]
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Pop!_OS 18.04 LTS
Release: 18.04
Codename: bionic
```
## Recreate
1. Make a "bad" path as types.json.engine.t.output (I typo'd `",/src/Serde.re"`), with a leading comma.
2. Run milk
3. milk exits with no error code or message

## What Happened
No Serde.re file created

## What I expected to happen
milk would exit with non-zero code or print an error as a result of invalid file system operation

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue using the invalid types.json.engine.t.output path and the leading-comma typo described in the report. Trace how milk handles the requested Serde.re output, then verify that the invalid filesystem operation produces an error or non-zero exit status and no misleading success.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.