« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/write/build-modes
diff options
context:
space:
mode:
Diffstat (limited to 'src/write/build-modes')
-rw-r--r--src/write/build-modes/static-build.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/write/build-modes/static-build.js b/src/write/build-modes/static-build.js
index 33eafeac..0a92ef50 100644
--- a/src/write/build-modes/static-build.js
+++ b/src/write/build-modes/static-build.js
@@ -464,6 +464,8 @@ function writeSymlinks({
     } catch (error) {
       if (error.code === 'EPERM') {
         await symlink(path.resolve(directory), file, 'junction');
+      } else {
+        throw error;
       }
     }
   }