Skip to content

Commit

Permalink
Fix comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
rismay-luassat committed Jun 29, 2024
1 parent da16825 commit 008bb30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/WrkstrmFoundation/JSON/JSONResource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ extension WrkstrmMain.JSON {
///
/// - Parameter fileName: The name of the JSON file to load (without the `.json` extension).
/// - Parameter relativeToFilePath: The relative file path to load the resource from. By
/// default, from
/// the calling file.
/// default, from the file which calls this function.
/// - Returns: The `Data` content of the JSON file if it exists, or `nil` if an error occurs.
public static func load(fileName: String, relativeToFilePath file: String = #file) -> Data? {
// URL of the current file
Expand Down

0 comments on commit 008bb30

Please sign in to comment.