Skip to content

Commit ff4577b

Browse files
committed
Format as required
1 parent 06acbd3 commit ff4577b

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

src/libcmd/command.cc

+4-4
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,10 @@ MixProfile::MixProfile()
239239
{
240240
addFlag({
241241
.longName = "profile",
242-
.description = "The profile to operate on.",
243-
.labels = {"path"},
244-
.handler = {&profile},
245-
.completer = completePath,
242+
.description = "The profile to operate on.",
243+
.labels = {"path"},
244+
.handler = {&profile},
245+
.completer = completePath,
246246
});
247247
}
248248

src/libfetchers/git-lfs-fetch.cc

+4-5
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ static void downloadToSink(
4444

4545
static std::string getLfsApiToken(const ParsedURL & url)
4646
{
47-
auto [status, output] = runProgram(
48-
RunOptions{
49-
.program = "ssh",
50-
.args = {*url.authority, "git-lfs-authenticate", url.path, "download"},
51-
});
47+
auto [status, output] = runProgram(RunOptions{
48+
.program = "ssh",
49+
.args = {*url.authority, "git-lfs-authenticate", url.path, "download"},
50+
});
5251

5352
if (output.empty())
5453
throw Error(

src/libstore-test-support/outputs-spec.cc

+2-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ Gen<OutputsSpec> Arbitrary<OutputsSpec>::arbitrary()
1414
return gen::just((OutputsSpec) OutputsSpec::All{});
1515
case 1:
1616
return gen::map(
17-
gen::nonEmpty(
18-
gen::container<StringSet>(
19-
gen::map(gen::arbitrary<StorePathName>(), [](StorePathName n) { return n.name; }))),
17+
gen::nonEmpty(gen::container<StringSet>(
18+
gen::map(gen::arbitrary<StorePathName>(), [](StorePathName n) { return n.name; }))),
2019
[](StringSet names) { return (OutputsSpec) OutputsSpec::Names{names}; });
2120
default:
2221
assert(false);

0 commit comments

Comments
 (0)