Skip to content

Commit

Permalink
refactor ~ remove disabled/redundant code, 'use strict', and ESLint d…
Browse files Browse the repository at this point in the history
…irectives
  • Loading branch information
rivy committed Dec 28, 2020
1 parent 664db74 commit 43e9361
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions eg/show-paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
/* eslint-env es6, node */
'use strict';

// const pkg = require('../' + 'package.json');

// const osPaths = require('../' + pkg.main);

const osPaths = require('../build/cjs/index.js');

console.log({ osPaths });
Expand Down
2 changes: 0 additions & 2 deletions eg/show-paths.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// # spell-checker:ignore APPNAME
/* eslint-env es6, node */
'use strict';

import osPaths from '../src';

Expand Down
2 changes: 0 additions & 2 deletions src/lib/OSPaths.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* eslint-env es6, node */
// # spell-checker:ignore HomeDrive HomePath LocalAppData UserProfile WinDir
'use strict';

import * as os from 'os';
import * as path from 'path';
Expand Down

0 comments on commit 43e9361

Please sign in to comment.