revert to bun 1.0.4
This commit is contained in:
@@ -180,7 +180,7 @@ RUN chmod 755 /usr/bin/deno
|
||||
|
||||
COPY --from=nsjail /nsjail/nsjail /bin/nsjail
|
||||
|
||||
COPY --from=oven/bun:1.0.5 /usr/local/bin/bun /usr/bin/bun
|
||||
COPY --from=oven/bun:1.0.4 /usr/local/bin/bun /usr/bin/bun
|
||||
|
||||
# add the docker client to call docker from a worker if enabled
|
||||
COPY --from=docker:dind /usr/local/bin/docker /usr/local/bin/
|
||||
|
||||
@@ -84,6 +84,7 @@
|
||||
export let folding = false
|
||||
export let args: Record<string, any> | undefined = undefined
|
||||
export let useWebsockets: boolean = true
|
||||
export let listenEmptyChanges = false
|
||||
|
||||
languages.typescript.typescriptDefaults.setModeConfiguration({
|
||||
completionItems: false,
|
||||
@@ -920,7 +921,7 @@
|
||||
timeoutModel && clearTimeout(timeoutModel)
|
||||
timeoutModel = setTimeout(() => {
|
||||
let ncode = getCode()
|
||||
if (ncode != '') {
|
||||
if (ncode != '' || listenEmptyChanges) {
|
||||
code = ncode
|
||||
dispatch('change', code)
|
||||
}
|
||||
|
||||
@@ -271,6 +271,7 @@
|
||||
deno={false}
|
||||
useWebsockets={false}
|
||||
fixedOverflowWidgets={false}
|
||||
listenEmptyChanges
|
||||
code={config?.init_bash ?? ''}
|
||||
on:change={(e) => {
|
||||
if (config) {
|
||||
@@ -294,7 +295,6 @@
|
||||
{#if dirty}
|
||||
<div class="text-red-600 text-xs whitespace-nowrap">Non applied changes</div>
|
||||
{/if}
|
||||
|
||||
<Button
|
||||
variant="contained"
|
||||
color="dark"
|
||||
|
||||
Reference in New Issue
Block a user