aboutsummaryrefslogtreecommitdiff
path: root/docker/netiquette/src/io/files.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'docker/netiquette/src/io/files.mjs')
-rw-r--r--docker/netiquette/src/io/files.mjs8
1 files changed, 0 insertions, 8 deletions
diff --git a/docker/netiquette/src/io/files.mjs b/docker/netiquette/src/io/files.mjs
deleted file mode 100644
index c3eca1b..0000000
--- a/docker/netiquette/src/io/files.mjs
+++ /dev/null
@@ -1,8 +0,0 @@
-'use strict'
-
-import fs from 'fs'
-
-export const readFile = (file, opts) =>
- new Promise((resolve, reject) =>
- fs.readFile(file, opts, (err, data) =>
- err ? reject(err) : resolve(data)))