From bb0e329ad085e6f78323ad0b7ce885c1fcc09b56 Mon Sep 17 00:00:00 2001 From: Shaun Hamilton Date: Tue, 13 Feb 2024 10:20:58 +0200 Subject: [PATCH] fix(cli): change 'scripts/' to 'script/' --- cli/Cargo.toml | 2 +- cli/src/fs.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 7e2a3ce2..3374df90 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "create-freecodecamp-os-app" -version = "3.0.1" +version = "3.0.2" edition = "2021" description = "CLI to create the boilerplate for a new freeCodeCamp-OS app" license = "BSD-3-Clause" diff --git a/cli/src/fs.rs b/cli/src/fs.rs index 2f95b3cc..e6647a84 100644 --- a/cli/src/fs.rs +++ b/cli/src/fs.rs @@ -143,7 +143,7 @@ impl Course { fn touch_conf(&self) { let static_files = if self.features.contains(&Features::ScriptInjection) { Some(json!( { - "/scripts/injectable.js": "./client/injectable.js".to_string(), + "/script/injectable.js": "./client/injectable.js".to_string(), })) } else { None