This repository has been archived by the owner on May 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(*): properly load images on import
Import was not properly loading images because the filepath.Walk function was opening the archives directory like it was a file and then passing that into the ImageLoad function which failed silently. This code change does two things: 1. It checks os.FileInfo to see if the path is a directory and returns if it is. If the path is not a directory, it proceeds to import the image archive file. 2. It adds a verbose flag to the import command. If enabled, it streams the ouput from image load to stdout. resolves #469
- Loading branch information
Michelle Noorali
committed
Nov 21, 2018
1 parent
0041b00
commit 5228aaf
Showing
2 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters