Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix argument passed to lilconfig.search() #15363

Merged
merged 12 commits into from
Nov 15, 2023
Prev Previous commit
Next Next commit
Use ||
  • Loading branch information
fisker committed Nov 15, 2023
commit 3b327f58070aff9dc76f71266aade12a0c70ccb6
2 changes: 1 addition & 1 deletion src/cli/format.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ async function formatStdin(context) {

const options = await getOptionsForFile(
context,
path.resolve(filepath ?? "<stdin>"),
path.resolve(filepath || "<stdin>"),
);

if (await listDifferent(context, input, options, "(stdin)")) {
Expand Down
Loading