Skip to content

Commit

Permalink
docs ~ import 'OSPaths' from 'dist' instead of 'build'
Browse files Browse the repository at this point in the history
- import from 'dist' instead of 'build'
  - (positive) ~ more correct, avoids aberrant test coverage, and works immediately upon a repo clone without a required build
  - (negative) ~ but, for testing, 'dist' lags 'build' and is not automatically updated until version update or publishing
  • Loading branch information
rivy committed Jan 11, 2021
1 parent d8423bf commit 3656bab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eg/show-paths.cjs.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env es6, node */
'use strict';

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

/* eslint-disable no-console , functional/immutable-data , security/detect-object-injection, security-node/detect-crlf */

Expand Down
2 changes: 1 addition & 1 deletion eg/show-paths.esm.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env es6, node */
'use strict';

import osPaths from '../build/cjs/esm-wrapper/index.js';
import osPaths from '../dist/cjs/esm-wrapper/index.js';

/* eslint-disable no-console , functional/immutable-data , security/detect-object-injection, security-node/detect-crlf */

Expand Down

0 comments on commit 3656bab

Please sign in to comment.