Formatting
This commit is contained in:
parent
a74d397549
commit
87f676b3a0
|
@ -625,7 +625,8 @@ string_t AttrCursor::getStringWithContext()
|
||||||
NixStringContext context;
|
NixStringContext context;
|
||||||
copyContext(v, context);
|
copyContext(v, context);
|
||||||
return {v.string.s, std::move(context)};
|
return {v.string.s, std::move(context)};
|
||||||
} else if (v.type() == nPath)
|
}
|
||||||
|
else if (v.type() == nPath)
|
||||||
return {v.path().to_string(), {}};
|
return {v.path().to_string(), {}};
|
||||||
else
|
else
|
||||||
root->state.error("'%s' is not a string but %s", getAttrPathStr()).debugThrow<TypeError>();
|
root->state.error("'%s' is not a string but %s", getAttrPathStr()).debugThrow<TypeError>();
|
||||||
|
|
Loading…
Reference in a new issue