Skip to content

Commit cf2d54d

Browse files
committed
fixed asset-packagist/test action to check storage dir existance
1 parent 857c1f8 commit cf2d54d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/console/AssetPackageController.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ public function actionList()
4444

4545
public function actionTest()
4646
{
47-
var_dump(Yii::getAlias('@web'));
47+
$dir = Yii::getAlias('@storage');
48+
$msg = file_exists($dir) ? 'exists' : 'DOES NOT EXIST';
49+
echo "$dir - $msg\n";
4850
}
4951

5052
}

0 commit comments

Comments
 (0)