Skip to content

Commit

Permalink
fix: invalid writeFile usage
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Apr 30, 2019
1 parent 35134ed commit 7e6d8a8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,7 @@ prog
module.exports = require('./${safeVariableName(
opts.name
)}.cjs.development.js')
}`,
{
overwrite: true,
} as fs.WriteFileOptions
}`
);
} catch (e) {}
}
Expand Down Expand Up @@ -311,10 +308,7 @@ prog
module.exports = require('./${safePackageName(
opts.name
)}.cjs.development.js')
}`,
{
overwrite: true,
} as fs.WriteFileOptions
}`
)
.catch(e => logError(e));
logger(promise, 'Creating entry file');
Expand Down

0 comments on commit 7e6d8a8

Please sign in to comment.