wp-blank-scripts 4.0.0-dev-11 → 4.0.0-dev-12
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/package.json +1 -1
- package/utils/getSqlPath.js +1 -1
package/package.json
CHANGED
package/utils/getSqlPath.js
CHANGED
|
@@ -4,6 +4,6 @@ const { isWindows } = require('./checkPlatform');
|
|
|
4
4
|
const mamp6SqlPath = '/Applications/MAMP/Library/bin';
|
|
5
5
|
const sqlPath = '/Applications/MAMP/Library/bin/mysql80/bin'; //MAMP7 moved mysql path
|
|
6
6
|
|
|
7
|
-
const mysqlPath = fs.existsSync(
|
|
7
|
+
const mysqlPath = fs.existsSync(sqlPath) ? sqlPath : mamp6SqlPath;
|
|
8
8
|
|
|
9
9
|
module.exports.sqlPath = isWindows ? 'C:/MAMP/bin/mysql/bin' : mysqlPath;
|