From 4110a68aa787174d3dbafd6c24dca29c523147cc Mon Sep 17 00:00:00 2001 From: Maximilian Mairinger Date: Mon, 22 May 2023 18:33:48 +0200 Subject: [PATCH] fix deno --- .github/workflows/CI.yml | 2 +- app/src/crossPlatformSpecs.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e76f57c..ee8e635 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -91,7 +91,7 @@ jobs: - name: Building run: npm run buildESM - name: Run checks - run: deno run CI/deno.mjs + run: deno run --allow-sys CI/deno.mjs env: CI: true diff --git a/app/src/crossPlatformSpecs.ts b/app/src/crossPlatformSpecs.ts index 86cebd7..4c4bcec 100644 --- a/app/src/crossPlatformSpecs.ts +++ b/app/src/crossPlatformSpecs.ts @@ -10,7 +10,8 @@ import is from "platform-detect" import uaParser from "ua-parser-js" import prettyBytes from "pretty-bytes" -import os from "os" +// @ts-ignore +import os from "node:os" export let environment = "?"