Skip to content

Commit

Permalink
use last path component
Browse files Browse the repository at this point in the history
  • Loading branch information
dfed committed Sep 2, 2024
1 parent 00ce43c commit 20c525c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugins/InstallSafeDITool/InstallCLIPluginCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ struct InstallSafeDITool: CommandPlugin {
let gitIgnoreLocation = expectedToolFolder.appending(component: ".gitignore")
if !FileManager.default.fileExists(atPath: gitIgnoreLocation.path()) {
try """
safeditool
\(expectedToolLocation.lastPathComponent)
""".write(
to: gitIgnoreLocation,
atomically: true,
Expand Down

0 comments on commit 20c525c

Please sign in to comment.