Skip to content

Commit

Permalink
style: prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Gordon committed Oct 2, 2024
1 parent 1f81100 commit 63dc4a4
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions lib/uv.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,12 @@ async function uvToRequirements() {
}

let res;

try {
await getUvVersion();
res = await spawn(
'uv',
['export', '--no-dev', '--frozen', '--no-hashes'],
{
cwd: this.servicePath,
}
);
res = await spawn('uv', ['export', '--no-dev', '--frozen', '--no-hashes'], {
cwd: this.servicePath,
});

fse.ensureDirSync(path.join(this.servicePath, '.serverless'));
fse.writeFileSync(
Expand Down

0 comments on commit 63dc4a4

Please sign in to comment.