remove fake data
This commit is contained in:
parent
8d709b4366
commit
2e5bdddd15
1 changed files with 2 additions and 2 deletions
|
@ -241,8 +241,8 @@ async function parseCurrentPedalboard(currentPedalboard) {
|
||||||
throw new Error('could not determine current pedalboard config file');
|
throw new Error('could not determine current pedalboard config file');
|
||||||
}
|
}
|
||||||
// FAKE DATA
|
// FAKE DATA
|
||||||
let file = path.resolve(path.dirname(__dirname) + '/dev/' + currentPedalboard.uri.substring(currentPedalboard.uri.lastIndexOf('/') + 1));
|
// let file = path.resolve(path.dirname(__dirname) + '/dev/' + currentPedalboard.uri.substring(currentPedalboard.uri.lastIndexOf('/') + 1));
|
||||||
// let file = path.resolve(currentPedalboard.uri.replace('file://', ''));
|
let file = path.resolve(currentPedalboard.uri.replace('file://', ''));
|
||||||
pedals = await new Promise((resolve, reject) => {
|
pedals = await new Promise((resolve, reject) => {
|
||||||
fs.readFile(file, function (err, data) {
|
fs.readFile(file, function (err, data) {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
Loading…
Reference in a new issue