Skip to content

Bug reproduction related to trying to delete non-empty temporary directory

Notifications You must be signed in to change notification settings

limick/hint-temp-directory-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

This repository is meant to allow reproduction of this issue, in which hint complains about a temporary directory not being empty when trying to delete it:

$ stack exec -- hint-repro
no port specified, defaulting to port 8000
Listening on http://0.0.0.0:8000
hint-repro: /tmp/hint-c4f80210edfd53db: removeDirectory: unsatisfied constraints (Directory not empty)

How to reproduce

  1. Clone this repository
  2. stack build (note that development mode is enabled by default)
  3. stack exec -- hint-repro
  4. Visit http://localhost:8000/ in your browser
  5. Error similar to the above should appear in console

Remarks

Note that the error also appears if we bump hint to 0.9.0 in stack.yaml.

About

Bug reproduction related to trying to delete non-empty temporary directory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published