Skip to content

Commit

Permalink
Rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
nezuo committed Mar 21, 2024
1 parent ab31b25 commit c76fe0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ pub(super) enum OutputKind {
}

impl OutputKind {
pub(super) fn from_output_path_place(output: &Path) -> Option<OutputKind> {
pub(super) fn from_place_path(output: &Path) -> Option<OutputKind> {
let extension = output.extension()?.to_str()?;

match extension {
Expand Down
2 changes: 1 addition & 1 deletion src/cli/open.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl OpenCommand {
.unwrap_or(DEFAULT_PORT);

let output_kind =
OutputKind::from_output_path_place(&self.output).context(UNKNOWN_OUTPUT_KIND_ERR)?;
OutputKind::from_place_path(&self.output).context(UNKNOWN_OUTPUT_KIND_ERR)?;

write_model(&session, &self.output, OutputKind::Rbxl)?;

Expand Down

0 comments on commit c76fe0c

Please sign in to comment.