Switching from `await LocalWorkspace.createOrSelec...
# automation-api
m
Switching from
await LocalWorkspace.createOrSelectStack(args)
worked fine, but in order to use
removeStack
, I switched the implementation to:
Copy code
const projectSettings: ProjectSettings = {
      name: projectName,
      runtime: 'nodejs',
    }
    const ws = await LocalWorkspace.create({ projectSettings })
    const stack = await Stack.createOrSelect(stackName, ws)