@tanagram/cli 0.1.2 → 0.1.3

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/commands/list.go CHANGED
@@ -11,7 +11,7 @@ func List() error {
11
11
  // Find git root
12
12
  gitRoot, err := storage.FindGitRoot()
13
13
  if err != nil {
14
- return fmt.Errorf("not in a git repository: %w", err)
14
+ return err
15
15
  }
16
16
 
17
17
  // Load cache
package/commands/run.go CHANGED
@@ -16,7 +16,7 @@ func Run() error {
16
16
  // Find git root
17
17
  gitRoot, err := storage.FindGitRoot()
18
18
  if err != nil {
19
- return fmt.Errorf("not in a git repository: %w", err)
19
+ return err
20
20
  }
21
21
 
22
22
  // Find all instruction files
package/commands/sync.go CHANGED
@@ -15,7 +15,7 @@ func Sync() error {
15
15
  // Find git root
16
16
  gitRoot, err := storage.FindGitRoot()
17
17
  if err != nil {
18
- return fmt.Errorf("not in a git repository: %w", err)
18
+ return err
19
19
  }
20
20
 
21
21
  // Find all instruction files
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanagram/cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Tanagram - Catch sloppy code before it ships",
5
5
  "main": "index.js",
6
6
  "bin": {