Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
1.0 KiB
Diff
38 lines
1.0 KiB
Diff
diff --git a/app/src/main.ts b/app/src/main.ts
|
|
index c82d914..e8542f3 100644
|
|
--- a/app/src/main.ts
|
|
+++ b/app/src/main.ts
|
|
@@ -73,7 +73,7 @@ async function init(socket: WebSocket) {
|
|
const onListen: Deno.ServeOptions['onListen'] = ({ hostname, port }) => {
|
|
const serverUrl = `${hostname.replace('0.0.0.0', 'localhost')}:${port}`;
|
|
logger.info(`listening on ${serverUrl}`);
|
|
- const webview = new Deno.Command('deno', {
|
|
+ const webview = new Deno.Command('@deno@', {
|
|
cwd: dirname(fromFileUrl(Deno.mainModule)),
|
|
args: [
|
|
'run',
|
|
diff --git a/lua/peek/app.lua b/lua/peek/app.lua
|
|
index af5148e..5e67563 100644
|
|
--- a/lua/peek/app.lua
|
|
+++ b/lua/peek/app.lua
|
|
@@ -38,10 +38,17 @@ function module.setup()
|
|
end
|
|
|
|
cmd = vim.list_extend({
|
|
- 'deno',
|
|
- 'task',
|
|
- '--quiet',
|
|
+ '@deno@',
|
|
'run',
|
|
+ '--allow-read',
|
|
+ '--allow-write',
|
|
+ '--allow-net',
|
|
+ '--allow-env',
|
|
+ '--allow-run',
|
|
+ '--no-check',
|
|
+ '--allow-import',
|
|
+ '--no-lock',
|
|
+ '../../app/src/main.ts',
|
|
}, args)
|
|
end
|