PicoCreator / smol-dev-js

Smol personal AI, for smol incremental tasks in a JS project
MIT License
325 stars 53 forks source link

Update updateSpecSrcFilePair.js - Fix double-promises. #3

Closed Jexah closed 1 year ago

Jexah commented 1 year ago

There was an issue where we were calling .promises on fs.promises and an error was being thrown.

const fs = require('fs').promises;
...
await fs.promises.mkdir(...
PicoCreator commented 1 year ago

Nice catch, merged it