Skip to content

commands/add: return an error when using --only-hash and --to-files

Codecov / codecov/patch succeeded Oct 19, 2023 in 0s

4.00% of diff hit (target 38.39%)

View this Pull Request on Codecov

4.00% of diff hit (target 38.39%)

Annotations

Check warning on line 54 in client/rpc/name.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/rpc/name.go#L52-L54

Added lines #L52 - L54 were not covered by tests

Check warning on line 115 in client/rpc/name.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/rpc/name.go#L115

Added line #L115 was not covered by tests

Check warning on line 197 in core/commands/add.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/add.go#L197

Added line #L197 was not covered by tests

Check warning on line 212 in core/commands/add.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/add.go#L210-L212

Added lines #L210 - L212 were not covered by tests

Check warning on line 240 in core/commands/add.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/add.go#L240

Added line #L240 was not covered by tests

Check warning on line 50 in core/commands/dns.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/dns.go#L50

Added line #L50 was not covered by tests

Check warning on line 52 in core/commands/dns.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/dns.go#L52

Added line #L52 was not covered by tests

Check warning on line 58 in core/commands/dns.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/dns.go#L55-L58

Added lines #L55 - L58 were not covered by tests

Check warning on line 60 in core/commands/dns.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/dns.go#L60

Added line #L60 was not covered by tests

Check warning on line 64 in core/commands/dns.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/dns.go#L64

Added line #L64 was not covered by tests

Check warning on line 89 in core/commands/resolve.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/resolve.go#L89

Added line #L89 was not covered by tests

Check warning on line 93 in core/commands/resolve.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/resolve.go#L93

Added line #L93 was not covered by tests

Check warning on line 103 in core/commands/resolve.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/commands/resolve.go#L103

Added line #L103 was not covered by tests

Check warning on line 200 in core/corehttp/gateway.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/corehttp/gateway.go#L199-L200

Added lines #L199 - L200 were not covered by tests

Check warning on line 202 in core/corehttp/gateway.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/corehttp/gateway.go#L202

Added line #L202 was not covered by tests