Skip to content

Commit f64bebb

Browse files
committed
refactor: move folder to lib folder
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent fdf0183 commit f64bebb

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/net/disposable-http-server/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function httpServer( options ) {
112112
if ( !opts.html ) {
113113
debug( 'No HTML content provided.' );
114114
debug( 'Loading a boilerplate HTML page...' );
115-
fpath = path.resolve( __dirname, '../static/index.html' );
115+
fpath = path.resolve( __dirname, 'static/index.html' );
116116
opts.html = readFileSync( fpath );
117117
}
118118
// Create a function to boot a server...

lib/node_modules/@stdlib/net/disposable-http-server/test/test.main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ tape( 'if only provided JavaScript, the server serves an HTML boilerplate and th
176176
'javascript': 'console.log("Beep");'
177177
};
178178

179-
fpath = path.resolve( __dirname, '../static/index.html' );
179+
fpath = path.resolve( __dirname, '../lib/static/index.html' );
180180
html = readFileSync( fpath, 'utf8' );
181181

182182
httpServer( opts, onReady );

0 commit comments

Comments
 (0)