mirror of
https://github.com/pesde-pkg/pesde.git
synced 2024-12-12 11:00:36 +00:00
refactor: optimize boolean expression in publish command
This commit is contained in:
parent
70d07feb70
commit
d346fe1d34
2 changed files with 4 additions and 1 deletions
|
@ -14,6 +14,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
### Performance
|
||||
- Clone dependency repos shallowly by @daimond113
|
||||
|
||||
### Changed
|
||||
- Optimize boolean expression in `publish` command by @daimond113
|
||||
|
||||
## [0.5.0-rc.6] - 2024-10-14
|
||||
### Added
|
||||
- Support full version requirements in workspace version field by @daimond113
|
||||
|
|
|
@ -64,7 +64,7 @@ impl PublishCommand {
|
|||
manifest.target,
|
||||
Target::Roblox { .. } | Target::RobloxServer { .. }
|
||||
) {
|
||||
if !manifest.target.build_files().is_some_and(|f| !f.is_empty()) {
|
||||
if manifest.target.build_files().is_none_or(|f| f.is_empty()) {
|
||||
anyhow::bail!("no build files found in target");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue