diff options
Diffstat (limited to 'src/write')
-rw-r--r-- | src/write/build-modes/static-build.js | 2 |
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; } } } |