Remove unnecessary existential check
Remove unnecessary type conversions to Number
Merge pull request #3233 from xixixao/issue2953cleanup

Clean up `Method calls on splice endpoints`
Fixes #3087 -- Use `fs.*Sync` for CLI compilation

 * Make `compilePath` synchronous
 * Remove unused variable
Merge pull request #3234 from marchaefner/issue3087

Fixes #3087 -- Use `fs.*Sync` for CLI compilation