From bf77b69b0b2b4774c4ff73160d6e7211c1bfd027 Mon Sep 17 00:00:00 2001 From: daimond113 <72147841+daimond113@users.noreply.github.com> Date: Sun, 13 Oct 2024 11:59:31 +0200 Subject: [PATCH] fix: correct pesde.toml inclusion message in publish --- CHANGELOG.md | 4 ++++ src/cli/commands/publish.rs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 454322d..969eb90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] +### Fixed +- Correct `pesde.toml` inclusion message in `publish` command by @daimond113 + ## [0.5.0-rc.5] - 2024-10-12 ### Added - Inform user about not finding any bin package when using its bin invocation by @daimond113 diff --git a/src/cli/commands/publish.rs b/src/cli/commands/publish.rs index 23657f4..ab9eb7c 100644 --- a/src/cli/commands/publish.rs +++ b/src/cli/commands/publish.rs @@ -106,7 +106,7 @@ impl PublishCommand { _ => None, }; - if !manifest.includes.insert(MANIFEST_FILE_NAME.to_string()) { + if manifest.includes.insert(MANIFEST_FILE_NAME.to_string()) { println!( "{}: {MANIFEST_FILE_NAME} was not in includes, adding it", "warn".yellow().bold()