build: 🐛 fix relative path targeting parent directory

This commit is contained in:
Julien Oculi 2024-06-15 16:20:40 +02:00
parent 0c8789435c
commit deee33056c

View file

@ -68,7 +68,7 @@ const newDenoJson = {
} }
// Update deno.json file // Update deno.json file
await Deno.writeTextFile('../deno.json', JSON.stringify(newDenoJson)) await Deno.writeTextFile('./deno.json', JSON.stringify(newDenoJson))
const denoFmt = new Deno.Command('deno', { const denoFmt = new Deno.Command('deno', {
args: ['fmt', 'deno.json'], args: ['fmt', 'deno.json'],