Skip to content

Fix path in comment text#9

Merged
bzz merged 8 commits intosrc-d:masterfrom
bzz:fix-path
Sep 25, 2018
Merged

Fix path in comment text#9
bzz merged 8 commits intosrc-d:masterfrom
bzz:fix-path

Conversation

@bzz
Copy link
Copy Markdown
Contributor

@bzz bzz commented Sep 21, 2018

Fixes #7

  • log-level works
  • more stable CI on SDK install
  • revert paths in message text

bzz added 4 commits September 21, 2018 15:31
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
@bzz bzz requested review from carlosms and dpordomingo September 21, 2018 16:01
analyzer_test.go Outdated
t.Run(tt.in, func(t *testing.T) {
flat := faltternPath(tt.in, "/tmp")
if flat != tt.out {
t.Errorf("forward: got %q, want %q", flat, tt.out)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not assert.Equal(t, tt.out, faltternPath(tt.in, "/tmp"))?

Copy link
Copy Markdown
Contributor Author

@bzz bzz Sep 24, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 1d9e1aa

bzz added 2 commits September 24, 2018 19:18
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
analyzer.go Outdated
}

// faltternPath flattens relative path and puts it inside tmp.
func faltternPath(file string, tmp string) string {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo, flattenPath

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
@bzz bzz merged commit ab8cd68 into src-d:master Sep 25, 2018
@bzz bzz deleted the fix-path branch September 25, 2018 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants