diff --git a/clients/apps/nodejs/test_basic_workflow2.js b/clients/apps/nodejs/test_basic_workflow2.js index 10363394..a07da0ea 100644 --- a/clients/apps/nodejs/test_basic_workflow2.js +++ b/clients/apps/nodejs/test_basic_workflow2.js @@ -7,8 +7,10 @@ const client_config = require('./client_config'); async function removeDatabase() { try { - const clientConfig = client_config.load(); - const { stdout, stderr } = await exec(`rm ./${clientConfig.databaseFile}`); + const clientConfig = client_config.load(); + const absolutePath = path.resolve(clientConfig.databaseFile); + console.log(`Removing database file at: ${absolutePath}`); + const { stdout, stderr } = await exec(`rm ${absolutePath}`); console.log('stdout:', stdout); console.error('stderr:', stderr); } catch (e) {