Skip to content

Commit 533dfab

Browse files
committed
updates
1 parent 3ed3159 commit 533dfab

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Unreleased
44

5+
## v1.4.2 - 18 February 2024
6+
- Update msg in deprecated tag for `is_directory` to correctly point to `verify_is_directory`
7+
58
## v1.4.1 - 1 February 2024
69
- Update gleam_stdlib dependency to "~> 0.34 or ~> 1.0" in preparation for 1.0.
710

gleam.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name = "simplifile"
2-
version = "1.4.1"
2+
version = "1.4.2"
33
description = "Basic file operations that work on all targets"
44

55
licences = ["Apache-2.0"]

jsconfig.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"compilerOptions": {
3-
"checkJs": true,
4-
"rootDirs": ["src", "build/dev/javascript/simplifile"],
5-
}
6-
}
2+
"compilerOptions": {
3+
"checkJs": true,
4+
"rootDirs": ["src", "build/dev/javascript/simplifile"]
5+
}
6+
}

src/simplifile.gleam

+1-4
Original file line numberDiff line numberDiff line change
@@ -353,10 +353,7 @@ pub fn rename_file(at src: String, to dest: String) -> Result(Nil, FileError) {
353353
}
354354

355355
/// Copy a directory recursively
356-
pub fn copy_directory(
357-
at src: String,
358-
to dest: String,
359-
) -> Result(Nil, FileError) {
356+
pub fn copy_directory(at src: String, to dest: String) -> Result(Nil, FileError) {
360357
// Erlang does not provide a built in `copy_dir` function,
361358
// and Deno doesn't support Node's `fs.cpSync`, so we'll just roll
362359
// our own for now.

0 commit comments

Comments
 (0)