From 7a8c93cf838d89dd322d6852a9dd3d8ed72bc078 Mon Sep 17 00:00:00 2001 From: Facundo Lerena Date: Wed, 6 Dec 2023 11:45:53 -0300 Subject: [PATCH] changed to avoid- --- .github/workflows/test-detectors.yml | 1 + detectors/unsafe-block/Cargo.toml | 2 +- .../avoid-unsafe-block-1/remediated-example/Cargo.toml | 2 +- .../avoid-unsafe-block-1/vulnerable-example/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-detectors.yml b/.github/workflows/test-detectors.yml index 0e1f3b9f..117da748 100644 --- a/.github/workflows/test-detectors.yml +++ b/.github/workflows/test-detectors.yml @@ -104,6 +104,7 @@ jobs: "unprotected-update-current-contract-wasm", "unsafe-expect", "unsafe-unwrap", + "avoid-unsafe-block" ] runs-on: ${{ matrix.os }} steps: diff --git a/detectors/unsafe-block/Cargo.toml b/detectors/unsafe-block/Cargo.toml index 4362e273..980add00 100644 --- a/detectors/unsafe-block/Cargo.toml +++ b/detectors/unsafe-block/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "unsafe-block" +name = "avoid-unsafe-block" version = "0.1.0" edition = "2021" diff --git a/test-cases/avoid-unsafe-block/avoid-unsafe-block-1/remediated-example/Cargo.toml b/test-cases/avoid-unsafe-block/avoid-unsafe-block-1/remediated-example/Cargo.toml index bb179332..f0d9900d 100644 --- a/test-cases/avoid-unsafe-block/avoid-unsafe-block-1/remediated-example/Cargo.toml +++ b/test-cases/avoid-unsafe-block/avoid-unsafe-block-1/remediated-example/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "unsafe-block-1-remediated" +name = "avoid-unsafe-block-1-remediated" version = "0.1.0" edition = "2021" diff --git a/test-cases/avoid-unsafe-block/avoid-unsafe-block-1/vulnerable-example/Cargo.toml b/test-cases/avoid-unsafe-block/avoid-unsafe-block-1/vulnerable-example/Cargo.toml index e6dd7b33..50b5a3e6 100644 --- a/test-cases/avoid-unsafe-block/avoid-unsafe-block-1/vulnerable-example/Cargo.toml +++ b/test-cases/avoid-unsafe-block/avoid-unsafe-block-1/vulnerable-example/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "unsafe-block-1-vulnerable" +name = "avoid-unsafe-block-1-vulnerable" version = "0.1.0" edition = "2021"