aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/prune-storage.ts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/prune-storage.ts')
-rwxr-xr-xscripts/prune-storage.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/prune-storage.ts b/scripts/prune-storage.ts
index 2b04e906d..1def1d792 100755
--- a/scripts/prune-storage.ts
+++ b/scripts/prune-storage.ts
@@ -161,7 +161,8 @@ async function askConfirmation () {
161 } 161 }
162 prompt.get(schema, function (err, result) { 162 prompt.get(schema, function (err, result) {
163 if (err) return rej(err) 163 if (err) return rej(err)
164 return res(result.confirm && result.confirm.match(/y/) !== null) 164
165 return res(result.confirm?.match(/y/) !== null)
165 }) 166 })
166 }) 167 })
167} 168}