Accepting request 1087713 from devel:languages:javascript
Privacy and integration fix: disable update check. - add deno-disable-update-check.patch * this stops deno from automatically checking for an update whenever a script is run OBS-URL: https://build.opensuse.org/request/show/1087713 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deno?expand=0&rev=18
This commit is contained in:
commit
577af26d4d
18
deno-disable-update-check.patch
Normal file
18
deno-disable-update-check.patch
Normal file
@ -0,0 +1,18 @@
|
||||
diff --git a/cli/tools/run.rs.1 b/cli/tools/run.rs
|
||||
index 99312d5..e733306 100644
|
||||
--- a/cli/tools/run.rs.1
|
||||
+++ b/cli/tools/run.rs
|
||||
@@ -38,13 +38,6 @@ To grant permissions, set them before the script argument. For example:
|
||||
let http_client = factory.http_client();
|
||||
let cli_options = factory.cli_options();
|
||||
|
||||
- // Run a background task that checks for available upgrades. If an earlier
|
||||
- // run of this background task found a new version of Deno.
|
||||
- super::upgrade::check_for_upgrades(
|
||||
- http_client.clone(),
|
||||
- deno_dir.upgrade_check_file_path(),
|
||||
- );
|
||||
-
|
||||
let main_module = cli_options.resolve_main_module()?;
|
||||
|
||||
let permissions = PermissionsContainer::new(Permissions::from_options(
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 17 19:57:07 UTC 2023 - Avindra Goolcharan <avindra@opensuse.org>
|
||||
|
||||
- add deno-disable-update-check.patch
|
||||
* this stops deno from automatically checking for an update
|
||||
whenever a script is run
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 12 17:08:12 UTC 2023 - Avindra Goolcharan <avindra@opensuse.org>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user