Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 51adfea

Browse files
committed
Ask for forgiveness rather than permission
1 parent 1ac3c80 commit 51adfea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unlink.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Unlink extends Command
3939
unlinkPath: (pathToUnlink) ->
4040
try
4141
process.stdout.write "Unlinking #{pathToUnlink} "
42-
fs.unlinkSync(pathToUnlink) if fs.isSymbolicLinkSync(pathToUnlink)
42+
fs.unlinkSync(pathToUnlink)
4343
@logSuccess()
4444
catch error
4545
@logFailure()

0 commit comments

Comments
 (0)