Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: Remove trailing slash from static symlink #10045

Merged

Conversation

@EvanPurkhiser
Copy link
Member

@EvanPurkhiser EvanPurkhiser commented Oct 8, 2018

This is very minor, but when symlinking a directory the trailing slash is not needed and makes the output of ls -l --classify look a little funny.

$ ls -l --classify
lrwxr-xr-x 1 evan staff 24 Oct 8 16:25 static -> src/sentry/static/sentry//

Where as with it removed it does not have the trailing slash:

$ ls -l --classify
lrwxr-xr-x 1 evan staff 24 Oct 8 16:25 static -> src/sentry/static/sentry/

Semantically it doesn't seem important.

@EvanPurkhiser EvanPurkhiser changed the title style: remote trailing slash from static symlink style: Remove trailing slash from static symlink Oct 8, 2018
This is very minor, but when symlinking a directory the trailing slash
is not needed and makes the output of `ls -l --classify` look a little
funny.

  $ ls -l --classify
  lrwxr-xr-x    1 evan staff     24 Oct  8 16:25 static -> src/sentry/static/sentry//

Where as with it removed it does not have the trailing slash:

  $ ls -l --classify
  lrwxr-xr-x    1 evan staff     24 Oct  8 16:25 static -> src/sentry/static/sentry/

Semantically it doesn't seem important [0].

[0]: https://unix.stackexchange.com/questions/7769/should-i-include-a-trailing-slash-in-a-symlink-to-a-directory
@EvanPurkhiser EvanPurkhiser force-pushed the style-remote-trailing-slash-from-static-symlink branch to 974ba8a Oct 8, 2018
@EvanPurkhiser EvanPurkhiser requested a review from markstory Oct 8, 2018
@EvanPurkhiser EvanPurkhiser merged commit 22e96f9 into master Oct 9, 2018
6 checks passed
6 checks passed
codecov/patch/javascript Coverage not affected when comparing 209c264...974ba8a
Details
codecov/patch/python Coverage not affected when comparing 209c264...974ba8a
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
license/snyk - package.json (sentry) No manifest changes detected
percy/sentry Visual review automatically approved, no visual changes found.
Details
security/snyk - package.json (sentry) No manifest changes detected
@EvanPurkhiser EvanPurkhiser deleted the style-remote-trailing-slash-from-static-symlink branch Nov 15, 2018
cjmaio added a commit to cjmaio/sentry that referenced this pull request Dec 17, 2018
This is very minor, but when symlinking a directory the trailing slash
is not needed and makes the output of `ls -l --classify` look a little
funny.

  $ ls -l --classify
  lrwxr-xr-x    1 evan staff     24 Oct  8 16:25 static -> src/sentry/static/sentry//

Where as with it removed it does not have the trailing slash:

  $ ls -l --classify
  lrwxr-xr-x    1 evan staff     24 Oct  8 16:25 static -> src/sentry/static/sentry/

Semantically it doesn't seem important [0].

[0]: https://unix.stackexchange.com/questions/7769/should-i-include-a-trailing-slash-in-a-symlink-to-a-directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.