@tanagram/cli 0.4.4 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanagram/cli",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "Tanagram - Catch sloppy code before it ships",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -47,7 +47,7 @@ func Create(gitRoot string) error {
47
47
 
48
48
  // Skip .git directory and .tanagram directory
49
49
  if info.IsDir() {
50
- if info.Name() == ".git" || info.Name() == ".tanagram" || info.Name() == "node_modules" {
50
+ if info.Name() == ".git" || info.Name() == ".tanagram" || info.Name() == "node_modules" || info.Name() == ".venv" {
51
51
  return filepath.SkipDir
52
52
  }
53
53
  return nil
@@ -161,7 +161,7 @@ func Compare(gitRoot string, snapshot *Snapshot) (*CompareResult, error) {
161
161
 
162
162
  // Skip directories
163
163
  if info.IsDir() {
164
- if info.Name() == ".git" || info.Name() == ".tanagram" || info.Name() == "node_modules" {
164
+ if info.Name() == ".git" || info.Name() == ".tanagram" || info.Name() == "node_modules" || info.Name() == ".venv" {
165
165
  return filepath.SkipDir
166
166
  }
167
167
  return nil