Browse Source

Removed the RequestTextFromTemplate function.

Having thought about it, the client should just use the RequestTextFromFile function. They already have the full file path for the template with the RequestAllTemplateFiles function.
master
Craig Oates 6 years ago
parent
commit
4d9bc9c984
  1. 6
      WetPancake/ProductServices.fs

6
WetPancake/ProductServices.fs

@ -49,12 +49,6 @@ module Pancake =
return files
}
let RequestTextFromTemplateAsync (gibberishLevel: int) (sentences: int) (templateFilePath: string) =
match CheckFileExists templateFilePath with
| true -> RequestTextFromFileAsync gibberishLevel sentences templateFilePath
| false -> failwith "The template file can not be found."
// Add Checks to make sure the client is passing in a .txt file?
// Leave for the client to check?
// Give the client a function to check (and throw) if not handed a .txt file?
Loading…
Cancel
Save