Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Commit b13460e

Browse files
committed
2 parents 9c0bff2 + 5c78a33 commit b13460e

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

LICENSE

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015 Litipk
3+
Copyright (c) 2015-2017 Litipk
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
SOFTWARE.
22-

src/Console/Application.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ public function __construct()
4242
}
4343

4444
if (!$shutdownRegistered) {
45-
$shutdownRegistered = true;
46-
4745
register_shutdown_function(function () { $this->handleShutdown(); });
46+
$shutdownRegistered = true;
4847
}
4948

5049
parent::__construct('Jupyter-PHP Installer', '0.1');

src/System/UnixSystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function validatePath($path)
7777
{
7878
$absPath = $this->getAbsolutePath($path);
7979
$absPathParts = preg_split('/\//', preg_replace('/(^\/|\/$)/', '', $absPath));
80-
$nSteps = count($absPath);
80+
$nSteps = count($absPathParts);
8181

8282
$tmpPath = '';
8383
$prevReadable = false;

0 commit comments

Comments
 (0)