From ea7629e6f21d00fa90b68de18560d5d455e3e3e9 Mon Sep 17 00:00:00 2001 From: Erik Niebla Date: Fri, 25 Jun 2021 15:34:55 -0500 Subject: [PATCH 1/2] Fix README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6f38885..edf5947 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ [![Latest Version on Packagist](https://img.shields.io/packagist/v/masbug/flysystem-google-drive-ext.svg?style=flat-square)](https://packagist.org/packages/masbug/flysystem-google-drive-ext) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -[![Build Status](https://img.shields.io/travis/masbug/flysystem-google-drive-ext/master.svg?style=flat-square)](https://travis-ci.org/masbug/flysystem-google-drive-ext) -[![StyleCI](https://styleci.io/repos/113434522/shield?branch=master)](https://styleci.io/repos/113434522) +[![Build Status](https://img.shields.io/travis/masbug/flysystem-google-drive-ext/1.x.svg?style=flat-square)](https://travis-ci.org/masbug/flysystem-google-drive-ext) +[![StyleCI](https://styleci.io/repos/113434522/shield?branch=1.x)](https://styleci.io/repos/113434522) [![Total Downloads](https://img.shields.io/packagist/dt/masbug/flysystem-google-drive-ext.svg?style=flat-square)](https://packagist.org/packages/masbug/flysystem-google-drive-ext) Google uses unique IDs for each folder and file. This makes it difficult to integrate with other storage services which use normal paths. From 52efe93c69f8b06632e5207c89308db8cd4234ff Mon Sep 17 00:00:00 2001 From: Erik Niebla Date: Fri, 25 Jun 2021 16:49:49 -0500 Subject: [PATCH 2/2] Fix for styleCI --- src/GoogleDriveAdapter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GoogleDriveAdapter.php b/src/GoogleDriveAdapter.php index 55ada50..924022e 100644 --- a/src/GoogleDriveAdapter.php +++ b/src/GoogleDriveAdapter.php @@ -1935,7 +1935,7 @@ protected function toSingleVirtualPath($displayPath, $makeFullVirtualPath = true } $this->createDirectory($subdir, new Config()); - if (!$this->hasDir($subdir)){ + if (!$this->hasDir($subdir)) { if ($can_throw) { throw $e; }