Skip to content

Commit

Permalink
- fix for lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ezolenko committed Mar 11, 2019
1 parent 4806613 commit 33b99bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/rollup-plugin-typescript2.cjs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/rollup-plugin-typescript2.es.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.ts
Expand Up @@ -319,7 +319,7 @@ const typescript: PluginImpl<Partial<IOptions>> = (options) =>
else
{
// Otherwise, take the directory name from the path and make sure it is absolute.
const destDirname = bundleFile ? dirname(bundleFile) : <string>outputDir;
const destDirname = bundleFile ? dirname(bundleFile) : outputDir as string;
const destDirectory = isAbsolute(destDirname) ? destDirname : join(process.cwd(), destDirname);
writeToPath = join(destDirectory, relative(process.cwd(), fileName));
}
Expand Down

0 comments on commit 33b99bf

Please sign in to comment.