use single square brackets for testing public directory existence
Merge pull request #1 from tmsrjs/master

use single square brackets for testing public directory existence