Add exit state in alt sort because it does not work yet. Yeesh.

This commit is contained in:
mmcw-dev 2019-01-03 23:11:28 -05:00
parent 778f740047
commit 4c1ac8f997
1 changed files with 2 additions and 0 deletions

View File

@ -175,6 +175,8 @@ async function weave (pattern, realtime, random) {
console.error('Error sorting frames') console.error('Error sorting frames')
} }
} else if (alt) { } else if (alt) {
console.warn('This feature is not ready, please check https://github.com/sixteenmillimeter/frameloom.git')
process.exit(10)
try { try {
seq = await altSort(frames, pattern, realtime) seq = await altSort(frames, pattern, realtime)
} catch (err) { } catch (err) {